[weld-issues] [JBoss JIRA] Commented: (WELD-508) incorrect choice of dependency in example: jboss-ejb3-api-3.1.0.jar

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Tue Jun 29 14:06:46 EDT 2010


    [ https://jira.jboss.org/browse/WELD-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12537369#action_12537369 ] 

Carlo de Wolf commented on WELD-508:
------------------------------------

@StatefulTimeout uses TimeUnit.MINUTES which is only available in JDK 6.
Using the EJB 3.1 API classes in JDK 5 is unsupported.

> incorrect choice of dependency in example: jboss-ejb3-api-3.1.0.jar
> -------------------------------------------------------------------
>
>                 Key: WELD-508
>                 URL: https://jira.jboss.org/browse/WELD-508
>             Project: Weld
>          Issue Type: Task
>          Components: Examples
>    Affects Versions: 1.0.1.Final
>            Reporter: asookazian
>            Priority: Minor
>             Fix For: 1.0.2.CR1
>
>
> C:\java\weld-1.0.1-Final\examples\jsf\translator>mvn clean install
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\java\weld-1.0.1-Final\examples\jsf\translator\ejb\src\main\java\org\jboss\wel
> d\examples\translator\SentenceTranslator.java:[3,-1] cannot access javax.ejb.Sta
> teless
> bad class file: C:\Documents and Settings\asookazian\.m2\repository\org\jboss\ej
> b3\jboss-ejb3-api\3.1.0\jboss-ejb3-api-3.1.0.jar(javax/ejb/Stateless.class)
> class file has wrong version 50.0, should be 49.0

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

        


More information about the weld-issues mailing list