[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1360) s:fileupload not working

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Wed May 30 23:16:18 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1360?page=comments#action_12363656 ] 
            
Shane Bryzak commented on JBSEAM-1360:
--------------------------------------

Here's the exception.  I'm guessing that you compiled with Java 6 and didn't set the target version to 1.5.

13:11:19,375 WARN  [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=uploadTest.jar
java.lang.ClassNotFoundException: Unexpected error during load of: de.ecp.business.SiteManagerBean, msg=Bad version numb
er in .class file
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:550)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.jboss.ejb3.Ejb3AnnotationHandler.populateBaseInfo(Ejb3AnnotationHandler.java:265)
        at org.jboss.ejb3.Ejb3DescriptorHandler.populateBaseInfo(Ejb3DescriptorHandler.java:202)
        at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:123)
        at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:409)
        at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:397)
        at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:378)
        at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:350)
        at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:305)
        at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:77)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

> s:fileupload not working
> ------------------------
>
>                 Key: JBSEAM-1360
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1360
>             Project: JBoss Seam
>          Issue Type: Bug
>    Affects Versions: 1.2.1.GA
>         Environment: Windows XP, JBoss-4-0.5.GA
>            Reporter: Feivel Frey
>         Assigned To: Shane Bryzak
>         Attachments: fileupload_exploded.zip
>
>
> <s:fileUpload id="fileupload" data="#{specialreleaseeditor.file}" accept="*/*" fileName="#{specialreleaseeditor.fileName}" contentType="#{specialreleaseeditor.fileContentType}"/>
> getter and setter for file, filename and fileContentType not called, only I comment s:fileupload.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list