hi
i'm trying to integrate t5.3 and jpa like on this tow topics:
http://blog.tapestry5.de/index.php/2011/05/25/jpa-support-in-tapestry/
and
http://tapestry.apache.org/integrating-with-jpa.html
they are a bit difference between them but both @ApplicationDefaults and
@FactoryDefaults are not ok: "The annotation @ApplicationDefaults
@FactoryDefaults and is disallowed for this location"
i added // for both and try to run my project, but i have this error :

Starting scanner at interval of 5 seconds.
2011-08-24 10:21:21.725:INFO::jetty-6.1.26
[INFO] ioc.RegistryBuilder Adding module definition for class
org.apache.tapestry5.ioc.services.TapestryIOCModule
[INFO] ioc.RegistryBuilder Adding module definition for class
org.apache.tapestry5.jpa.JpaModule
2011-08-24 10:21:22.315:WARN::failed app: java.lang.RuntimeException:
Exception loading module(s) from manifest
jar:file:/C:/leoniIM_ws/lib/tapestry_jpa_lib/t53/tapestry-jpa-5.3.0.jar!/META-INF/MANIFEST.MF:
Failure loading Tapestry IoC module class
org.apache.tapestry5.jpa.JpaModule: Error invoking service binder method
org.apache.tapestry5.jpa.JpaModule.bind(ServiceBinder) (at
JpaModule.java:44): org/apache/tapestry5/plastic/MethodAdvice
2011-08-24 10:21:22.315:WARN::Failed startup of context
org.mortbay.jetty.webapp.WebAppContext@50988{/jpa,src/main/webapp}
java.lang.RuntimeException: Exception loading module(s) from manifest
jar:file:/C:/leoniIM_ws/lib/tapestry_jpa_lib/t53/tapestry-jpa-5.3.0.jar!/META-INF/MANIFEST.MF:
Failure loading Tapestry IoC module class
org.apache.tapestry5.jpa.JpaModule: Error invoking service binder method
org.apache.tapestry5.jpa.JpaModule.bind(ServiceBinder) (at
JpaModule.java:44): org/apache/tapestry5/plastic/MethodAdvice
        at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
        at
org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
        at
org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:85)
        at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:74)
        at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
        at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
        at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
        at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:224)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at runjettyrun.Bootstrap.main(Bootstrap.java:223)
2011-08-24 10:21:22.347:INFO::Started SelectChannelConnector@0.0.0.0:8080

if someone can help. thanks a lot.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-and-jpa-tp4729808p4729808.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to