after mvn install, the example resteasy-springMVC runs fine on jetty (the url http://localhost:8080/contacts works)
but when i deploy
jboss-eap-5.1-src/resteasy/examples/resteasy-springMVC/target/resteasy-springMVC.war
manually to the jboss-eap-5.1/jboss-as/server/production/deploy
and visit the url http://localhost:8080/resteasy-springMVC/contacts
i get
org.springframework.beans.factory.BeanDefinitionStoreException: I/O failure during classpath scanning; nested exception is java.util.zip.ZipException: error in opening zip file
org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:222)
org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:201)
org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84)
...
java.util.zip.ZipException: error in opening zip file
java.util.zip.ZipFile.open(Native Method)
java.util.zip.ZipFile.<init>(ZipFile.java:131)
java.util.jar.JarFile.<init>(JarFile.java:150)
...
and debug shows that the zip file in question is
jboss-eap-5.1/jboss-as/server/production/deploy/resteasy-springMVC.war/WEB-INF/classes/org/jboss/resteasy/examples/springmvc
which is an existing directory inside the war archive, which is kinda strange...
- blocks
-
JBPAPP-5357 Update RESTEasy to 1.2.1.GA_CP01
- Closed
- relates to
-
JBPAPP-5484 resteasy-springMVC example doesn't post the contacts form correctly when run in JBoss
- Closed
-
RESTEASY-542 Absolute path used in contacts.jsp of resteasy-springMVC example
- Closed
-
RESTEASY-486 Improve the documents writing for example resteasy-springMVC/README.TXT
- Closed