Hi All,
When I try to start the app at http://localhost:8080/dude I get the following error
DefaultAnnotationProcessor cannot be cast to org.apache.AnnotationProcessor
And not getting any solution. Can I get any help to solve this problem?
My development environment is : windows7, eclipse 3.6 I have created the target platform with the following bundles:
catalina.osgi-6.0.16-SNAPSHOT.jar catalina.start.osgi-1.0.0.jar com.springsource.net.sf.cglib-2.1.3.jar com.springsource.org.aopalliance-1.0.0.jar com.springsource.org.apache.log4j-1.2.15.jar com.springsource.slf4j.api-1.5.6.jar com.springsource.slf4j.log4j-1.5.6.jar com.springsource.slf4j.org.apache.commons.logging-1.5.6.jar commons-el.osgi-1.0.jar el-api.osgi-2.1.jar jasper.osgi-6.0.16-SNAPSHOT.jar jsp-api-2.1-6.1.14.jar jstl.osgi-1.1.2-SNAPSHOT.jar log4j.osgi-1.2.15.jar org.eclipse.osgi-3.5.1.R35x_v20090827.jar org.springframework.aop-3.0.0.RC1.jar org.springframework.asm-3.0.0.RC1.jar org.springframework.beans-3.0.0.RC1.jar org.springframework.context-3.0.0.RC1.jar org.springframework.context.support-3.0.0.RC1.jar org.springframework.core-3.0.0.RC1.jar org.springframework.expression-3.0.0.RC1.jar org.springframework.web-3.0.0.RC1.jar org.springframework.web.servlet-3.0.0.RC1.jar servlet-api-2.5-6.1.14.jar spring-osgi-core-2.0.0.M1.jar spring-osgi-extender-2.0.0.M1.jar spring-osgi-io-2.0.0.M1.jar spring-osgi-web-2.0.0.M1.jar spring-osgi-web-extender-2.0.0.M1.jar
My MANIFEST.MF file of Web Bundle contains the following entries:
Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Web Bundle-SymbolicName: com.dudwheresmyjar.web Bundle-Version: 1.0.0.SNAPSHOT Bundle-Vendor: DUDWHERESMYJAR Bundle-Classpath: WEB-INF/classes Import-Package:
dwmj.domain,
dwmj.index,
org.apache.taglibs.standard;version=”1.1.2”,
org.springframework.beans.factory.annotation;version=”3.0.0.RC1”,
org.springframework.osgi.web.context.support;version=”2.0.0.M1”,
org.springframework.stereotype;version=”3.0.0.RC1”,
org.springframework.ui;version=”3.0.0.RC1”,
org.springframework.web.bind.annotation;version=”3.0.0.RC1”,
org.springframework.web.context;version=”3.0.0.RC1”,
org.springframework.web.servlet;version=”3.0.0.RC1”,
org.springframework.web.servlet.handler;version=”3.0.0.RC1”,
org.springframework.web.servlet.mvc;version=”3.0.0.RC1”,
org.springframework.web.servlet.mvc.annotation;version=”3.0.0.RC1”,
org.springframework.web.servlet.view;version=”3.0.0.RC1” Web-ContextPath: dude Require-Bundle: org.springframework.osgi.jstl.osgi;bundle-version=”1.1.2”
Any suggestion would be highly appreciated.
Many Thanks in Advance.
-Zia
|