Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5051

zip file problem in resteasy-springMVC example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • TBD EAP 5
    • EAP_EWP 5.1.0_CR3, EAP_EWP 5.1.1 ER2, EAP_EWP 5.2.0 ER4
    • RESTEasy
    • None
    • Resolving this JIRA as it is already fixed, Should verify in ER2.
    • Not Required

    Description

      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...

      Attachments

        Issue Links

          Activity

            People

              weinanli Weinan Li
              mlinhard Michal Linhard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: