Resource Menu


RE : New module
J'ai une erreur que je ne comprend pas. J'ai surement du oublier quelque chose ou faire une mauvaise manipulation:

genic:
    [genic] building LibreSource-Note-2.0.jar with 17 files
    [genic] 2008-01-17 12:43:37,050 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract boolean org.libresource.LibresourceService.canMapResourceForSecurity(java.net.URI,java.net.URI) throws org.libresource.LibresourceException,java.rmi.RemoteException in session bean LibresourceNoteService (set to the default value Supports)
    [genic] 2008-01-17 12:43:37,054 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract java.lang.String org.libresource.LibresourceService.getShortResourceName(org.libresource.LibresourceResourceIdentifier) throws org.libresource.LibresourceException,java.rmi.RemoteException in session bean LibresourceNoteService (set to the default value Supports)
    [genic] 2008-01-17 12:43:37,057 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract java.lang.String[] org.libresource.LibresourceService.listAvailablesPermissions(org.libresource.LibresourceResourceIdentifier) throws org.libresource.LibresourceException,java.rmi.RemoteException in session bean LibresourceNoteService (set to the default value Supports)
    [genic] GenIC for JOnAS 4.8.6: 'PageResource', 'LibresourceNoteService' generation …
    [genic] /tmp/genic33045.tmp/org/objectweb/jonas_gen/org/libresource/note/interfaces/JOnASPageResource174952013Local.java:205: incompatible types
    [genic] found   : org.libresource.wiki.HistoryEntry
    [genic] required: org.libresource.note.HistoryEntry
    [genic]             b.getPageVersion(p1);
    [genic]                             ^
    [genic] /tmp/genic33045.tmp/org/objectweb/jonas_gen/org/libresource/note/interfaces/JOnASPageResource174952013Local.java:569: incompatible types
    [genic] found   : org.libresource.wiki.ejb.model.PageResourceValue
    [genic] required: org.libresource.note.ejb.model.PageResourceValue
    [genic]             b.getPageResourceValue();
    [genic]                                   ^
    [genic] Note: /tmp/genic33045.tmp/jorm/rdb/PageResourceMapping.java uses unchecked or unsafe operations.
    [genic] Note: Recompile with -Xlint:unchecked for details.
    [genic] 2 errors
    [genic] GenIC fatal error:
    [genic] Exception during execution of org.objectweb.jonas_ejb.genic.GenIC : Failed when compiling the generated classes via java compiler
    [genic] java.lang.RuntimeException: Failed when compiling the generated classes via java compiler
    [genic]     at org.objectweb.jonas_ejb.genic.GenIC.fatalError(GenIC.java:1258)
    [genic]     at org.objectweb.jonas_ejb.genic.GenIC.main(GenIC.java:451)
    [genic]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [genic]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [genic]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [genic]     at java.lang.reflect.Method.invoke(Method.java:597)
    [genic]     at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
    [genic] Failed when compiling the generated classes via java compiler

BUILD FAILED /home/reya/Desktop/LSC-2.2-src-thirdpart/build.xml:120: Following error occured while executing this line /home/reya/Desktop/LSC-2.2-src-thirdpart/Src/LS-Server/build.xml:851: Following error occured while executing this line /home/reya/Desktop/LSC-2.2-src-thirdpart/Src/LS-Server/build.xml:555: Following error occured while executing this line /home/reya/Desktop/LSC-2.2-src-thirdpart/Src/LS-Server/build.xml:927: GenIC reported an error.

J'ai vérifier tous les fichiers de configuration et je ne trouve pas pourquoi j'ai cette erreur.

posted by reya at Jan 17, 2008 12:40 PM