You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by shymon <sh...@poczta.onet.pl> on 2008/10/01 12:43:24 UTC
Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound exception
I'm trying to create my first simple application using Tapestry 5.015. My
IDE is NetBeans 6.1, and app is deployed to Glassfish v2ur2.
I have created web application, added Tapestry to project libraries,
configured web.xml, created Start.tml and Start class. But when I deploy app
to appserver I got the following message:
deployed with moduleid = SimpleT5
WebModule[/SimpleT5]PWC1270: Exception starting filter app
java.lang.NoClassDefFoundError: org/hibernate/Session
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.getMethods(Class.java:1410)
at
org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:137)
at
org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.<init>(DefaultModuleDefImpl.java:106)
at
org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:122)
at
org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:149)
at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
at
org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
at
org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:75)
at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:76)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:257)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:369)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4389)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5189)
at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1584)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:974)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:591)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:635)
at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at
com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at
com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
at
com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
at
com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
at
com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:196)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at
com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1498)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 92 more
PWC1306: Startup of context /SimpleT5 failed due to previous errors
I don't want to use Hibernate. What can I do?
--
View this message in context: http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p19757952.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound
exception
Posted by shymon <sh...@poczta.onet.pl>.
akochnev wrote:
>
> Shymon,
> I'm not sure what the solution to your problem is going to be. The
> reason
> why things worked in the original setup is that when you specify
> archiveClasses to false, when the app is deployed in Glassfish, it's
> deployed as an exploded war; thus, when you update the class files, T5 is
> able to automatically reload them.
>
> Now, when you add your library in a module, it doesn't make much sense
> to
> have it not be in a jar (hence, there is no "archiveClasses" option for
> that). T5 doesn't does not do live reloading of the contents of the jar
> file, and because java caches the index of the jar file, when you
> redeploy,
> you get the exception.
>
Thanks for explanation.
akochnev wrote:
>
> Do you really have to restart tomcat or can you get away w/ just
> redeploying the app to Tomcat ?
>
I use netbeans and for maven projects I don't have Deploy/Redeploy option. I
only have Run option
which, as I suppose, does deployment. So repeating Run option doesn't change
anything - every attempt throws exception. Even Clean and Build option
doesn't help, only Tomcat restart does.
akochnev wrote:
>
> Maybe one of the more experienced folks on the list can chime in on how
> best to handle the development workflow with a module that's still under
> development.
>
Would be nice. For now I moved all components to main app ...components
package :(
But it is not what I want. So I consider to abandon maven. I will have some
extra config work
in the begining, but at least there are no issues with jar dependencies.
But if somebody could help... :)
Shymon
--
View this message in context: http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p20197738.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound
exception
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Mon, 27 Oct 2008 18:32:07 -0300, Alex Kotchnev <ak...@gmail.com>
escreveu:
> Maybe one of the more experienced folks on the list can chime in on
> how best to handle the development workflow with a module that's still
> under
> development.
1) Use Jetty for development. When tested in Jetty, test in Tomcat or
Glassfish or JBoss or whatever. I haven't had almost any issues this way.
2) In Eclipse, I use Sonatype's m2eclipse. It has the really helpful
feature that, when one project A has B as a dependency and both are
projects, when I open project B, it is automatically added to A's
classpath. When B is closed, A's classpath is automatically changed to
include B's jar from the local Maven repository.
3) The module is a project, the web app is another. While developing, I
keep both open and I use @Submodule(TheModule.class) in the web app's
AppModule, as the module JAR is not in the classpath.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound exception
Posted by Alex Kotchnev <ak...@gmail.com>.
Shymon,
I'm not sure what the solution to your problem is going to be. The reason
why things worked in the original setup is that when you specify
archiveClasses to false, when the app is deployed in Glassfish, it's
deployed as an exploded war; thus, when you update the class files, T5 is
able to automatically reload them.
Now, when you add your library in a module, it doesn't make much sense to
have it not be in a jar (hence, there is no "archiveClasses" option for
that). T5 doesn't does not do live reloading of the contents of the jar
file, and because java caches the index of the jar file, when you redeploy,
you get the exception.
Do you really have to restart tomcat or can you get away w/ just
redeploying the app to Tomcat ?
Maybe one of the more experienced folks on the list can chime in on how
best to handle the development workflow with a module that's still under
development.
Cheers,
Alex Kotchnev
On Sun, Oct 26, 2008 at 5:32 PM, shymon <sh...@poczta.onet.pl> wrote:
>
>
>
> akochnev wrote:
> >
> > Shymon,
> > I think your issue with the missing jar entry might have to do with
> how
> > Maven deploys the war....
> > In the meantime, try switching the archiveClasses option to false (by
> > default it's true).
> >
> > <plugin>
> > <groupId>org.apache.maven.plugins</groupId>
> > <artifactId>maven-war-plugin</artifactId>
> > <configuration>
> > <archiveClasses>*false*</archiveClasses>
> > </configuration>
> > </plugin>
> >
>
> Ok, setting archiveClasses to false helped, but now I have very similiar
> problem.
> I created tapestry components library (jar file as maven project). Main app
> depends
> on this library which is still under developement. When I change something
> in library,
> rebuild it, and try to run main app I get exception:
>
> java.lang.RuntimeException: Exception loading module(s) from manifest
>
> jar:file:/P:/myapp/src/myapp/target/myapp/WEB-INF/lib/t5-nrs-components-1.0-SNAPSHOT.jar!/META-INF/MANIFEST.MF:
> JAR entry META-INF/MANIFEST.MF not found in
>
> P:\myapp\src\myapp\target\myapp\WEB-INF\lib\t5-nrs-components-1.0-SNAPSHOT.jar
>
> then I have to restart tomcat to run app.
>
> maven-jar-plugin doesn't have <archiveClasses> option right?
> How can I resolve this problem?
>
> shymon
> --
> View this message in context:
> http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p20178222.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound
exception
Posted by shymon <sh...@poczta.onet.pl>.
akochnev wrote:
>
> Shymon,
> I think your issue with the missing jar entry might have to do with how
> Maven deploys the war....
> In the meantime, try switching the archiveClasses option to false (by
> default it's true).
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-war-plugin</artifactId>
> <configuration>
> <archiveClasses>*false*</archiveClasses>
> </configuration>
> </plugin>
>
Ok, setting archiveClasses to false helped, but now I have very similiar
problem.
I created tapestry components library (jar file as maven project). Main app
depends
on this library which is still under developement. When I change something
in library,
rebuild it, and try to run main app I get exception:
java.lang.RuntimeException: Exception loading module(s) from manifest
jar:file:/P:/myapp/src/myapp/target/myapp/WEB-INF/lib/t5-nrs-components-1.0-SNAPSHOT.jar!/META-INF/MANIFEST.MF:
JAR entry META-INF/MANIFEST.MF not found in
P:\myapp\src\myapp\target\myapp\WEB-INF\lib\t5-nrs-components-1.0-SNAPSHOT.jar
then I have to restart tomcat to run app.
maven-jar-plugin doesn't have <archiveClasses> option right?
How can I resolve this problem?
shymon
--
View this message in context: http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p20178222.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound exception
Posted by Alex Kotchnev <ak...@gmail.com>.
Shymon,
I think your issue with the missing jar entry might have to do with how
Maven deploys the war. One of the comments in the blog post explains it in
quite a bit of detail (
https://www.blogger.com/comment.g?blogID=19648744&postID=6127277507107329490&pli=1)
. In the meantime, try switching the archiveClasses option to false (by
default it's true).
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<archiveClasses>*false*</archiveClasses>
</configuration>
</plugin>
Cheers,
Alex Kotchnev
On Fri, Oct 3, 2008 at 5:04 PM, shymon <sh...@poczta.onet.pl> wrote:
>
>
>
> akochnev wrote:
> >
> > Shymon,
> > I know you said you already resolved your issue. However, instead of
> > using a stock netbeans Web Application project, I would strongly
> recommend
> > using the NetBeans Maven support when starting a project; it really makes
> > the ramp up almost 0 . See my blog for details at
> >
> http://www.troymaxventures.com/2008/05/tapestry5-netbeans-quickstart.html.
> >
> > Cheers,
> > Alex Kotchnev
> >
>
> Thanks for your advice. I have read your blog article, and I created T5
> Application using Maven Project in NetBeans. Everything went ok, and I ran
> app without any trouble (deployed to Glassfish V2). But then I changed
> getCurrentTime() method of Index class to return String value and choose
> 'Run' to see the effects. And what a surprise:
>
> java.lang.RuntimeException: Exception loading module(s) from manifest
>
> jar:file:/P:/TapestryTest/FirstT5/target/FirstT5/WEB-INF/lib/FirstT5.jar!/META-INF/MANIFEST.MF:
> JAR entry META-INF/MANIFEST.MF not found in
> P:\TapestryTest\FirstT5\target\FirstT5\WEB-INF\lib\FirstT5.jar
> 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:75)
> at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:76)
> ...
>
> I have checked:
> META-INF/MANIFEST.MF is present in jar file in question....
> What am I missing?
>
> shymon
>
> --
> View this message in context:
> http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p19805576.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound exception
Posted by Estevam Henrique Portela Mota e Silva <es...@gmail.com>.
Hi, shymon,
[jira] Created: (TAP5-227) Hibernate dependencies are incomplete
Hibernate dependencies are incomplete
-------------------------------------
Key: TAP5-227
URL: https://issues.apache.org/jira/browse/TAP5-227
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-hibernate
Affects Versions: 5.0.15
Reporter: Howard M. Lewis Ship
Priority: Critical
Automatic dependencies for tapestry-hibernate do not include
javax.persistence files or the hibernate.annotations.common artifact.
--
Regards,
Estevam Henrique Portela Mota e Silva
Handicapped Auditory = deaf
estevamota3@gmail.com / ehsilva@sfiec.org.br
Programmer Java and Tapestry
Brazil - Fortaleza / CE
Re: Tapestry 5.0.15, eclipse3.2 and Hibernate ClassNotFound exception
Posted by Carl Crowder <ca...@taptu.com>.
Did you include the tapestry hibernate library? It will be trying to
load hibernate related stuff if it's included in the classpath,
regardless of whether you use hibernate in your own code.
muinjava wrote:
> simple question:
> I made a simple tapestry web app and set all standard tapestry5.0.15 library
> jars on clasapath, and started tomcat, got following error:
>
> Exception starting filter app
> java.lang.NoClassDefFoundError: org/hibernate/Session
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
> at java.lang.Class.privateGetPublicMethods(Class.java:2488)
> at java.lang.Class.getMethods(Class.java:1406)
> at
> org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:137)
> at
> org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.<init>(DefaultModuleDefImpl.java:106)
> at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:122)
> at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:149)
> at
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
> at
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
> at
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
> at
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:75)
> at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:76)
> at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
> at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
> at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
> at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start(StandardService.java:448)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
>
>
> how can I remove damn hibernate related error? I did not use hibernate at
> all. thanks in advance.
>
> or is this a T5 bug ? see https://issues.apache.org/jira/browse/TAP5-227
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, eclipse3.2 and Hibernate ClassNotFound exception
Posted by Ulrich Stärk <ul...@spielviel.de>.
It is definitely not needed for tapestry! As I said, just remove
tapestry-hibernate from your class path.
Uli
muinjava schrieb:
> thanks all for your answers, I solved this problem by adding hibernate3.jar
> into my classpath. so it seems hibernate is a must-have one no matter you
> like it or not. happy day!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, eclipse3.2 and Hibernate ClassNotFound
exception
Posted by muinjava <yo...@gmail.com>.
thanks all for your answers, I solved this problem by adding hibernate3.jar
into my classpath. so it seems hibernate is a must-have one no matter you
like it or not. happy day!
--
View this message in context: http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p20128111.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, eclipse3.2 and Hibernate ClassNotFound exception
Posted by Ulrich Stärk <ul...@spielviel.de>.
Remove tapestry-hibernate from your classpath
Uli
muinjava schrieb:
> simple question:
> I made a simple tapestry web app and set all standard tapestry5.0.15 library
> jars on clasapath, and started tomcat, got following error:
>
> Exception starting filter app
> java.lang.NoClassDefFoundError: org/hibernate/Session
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
> at java.lang.Class.privateGetPublicMethods(Class.java:2488)
> at java.lang.Class.getMethods(Class.java:1406)
> at
> org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:137)
> at
> org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.<init>(DefaultModuleDefImpl.java:106)
> at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:122)
> at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:149)
> at
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
> at
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
> at
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
> at
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:75)
> at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:76)
> at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
> at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
> at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
> at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start(StandardService.java:448)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
>
>
> how can I remove damn hibernate related error? I did not use hibernate at
> all. thanks in advance.
>
> or is this a T5 bug ? see https://issues.apache.org/jira/browse/TAP5-227
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, eclipse3.2 and Hibernate ClassNotFound
exception
Posted by muinjava <yo...@gmail.com>.
simple question:
I made a simple tapestry web app and set all standard tapestry5.0.15 library
jars on clasapath, and started tomcat, got following error:
Exception starting filter app
java.lang.NoClassDefFoundError: org/hibernate/Session
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
at java.lang.Class.privateGetPublicMethods(Class.java:2488)
at java.lang.Class.getMethods(Class.java:1406)
at
org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:137)
at
org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.<init>(DefaultModuleDefImpl.java:106)
at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:122)
at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:149)
at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
at
org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
at
org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:75)
at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:76)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
how can I remove damn hibernate related error? I did not use hibernate at
all. thanks in advance.
or is this a T5 bug ? see https://issues.apache.org/jira/browse/TAP5-227
--
View this message in context: http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p20127632.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound
exception
Posted by shymon <sh...@poczta.onet.pl>.
akochnev wrote:
>
> Shymon,
> I know you said you already resolved your issue. However, instead of
> using a stock netbeans Web Application project, I would strongly recommend
> using the NetBeans Maven support when starting a project; it really makes
> the ramp up almost 0 . See my blog for details at
> http://www.troymaxventures.com/2008/05/tapestry5-netbeans-quickstart.html.
>
> Cheers,
> Alex Kotchnev
>
Thanks for your advice. I have read your blog article, and I created T5
Application using Maven Project in NetBeans. Everything went ok, and I ran
app without any trouble (deployed to Glassfish V2). But then I changed
getCurrentTime() method of Index class to return String value and choose
'Run' to see the effects. And what a surprise:
java.lang.RuntimeException: Exception loading module(s) from manifest
jar:file:/P:/TapestryTest/FirstT5/target/FirstT5/WEB-INF/lib/FirstT5.jar!/META-INF/MANIFEST.MF:
JAR entry META-INF/MANIFEST.MF not found in
P:\TapestryTest\FirstT5\target\FirstT5\WEB-INF\lib\FirstT5.jar
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:75)
at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:76)
...
I have checked:
META-INF/MANIFEST.MF is present in jar file in question....
What am I missing?
shymon
--
View this message in context: http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p19805576.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound exception
Posted by Alex Kotchnev <ak...@gmail.com>.
Shymon,
I know you said you already resolved your issue. However, instead of
using a stock netbeans Web Application project, I would strongly recommend
using the NetBeans Maven support when starting a project; it really makes
the ramp up almost 0 . See my blog for details at
http://www.troymaxventures.com/2008/05/tapestry5-netbeans-quickstart.html.
Cheers,
Alex Kotchnev
On Wed, Oct 1, 2008 at 8:30 AM, shymon <sh...@poczta.onet.pl> wrote:
>
>
>
> kristian.marinkovic wrote:
> >
> > do you have the library in your classpath?
> >
>
> Now it works.
> I removed only tapestry-hibernate... jars.
> tapestry-spring-5.0.15.jar also had to be removed.
> Thanx!
>
> --
> View this message in context:
> http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p19759413.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound
exception
Posted by shymon <sh...@poczta.onet.pl>.
kristian.marinkovic wrote:
>
> do you have the library in your classpath?
>
Now it works.
I removed only tapestry-hibernate... jars.
tapestry-spring-5.0.15.jar also had to be removed.
Thanx!
--
View this message in context: http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p19759413.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound exception
Posted by Kristian Marinkovic <kr...@porsche.co.at>.
do you have the library in your classpath?
shymon <sh...@poczta.onet.pl>
01.10.2008 13:39
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>
An
users@tapestry.apache.org
Kopie
Thema
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound exception
kristian.marinkovic wrote:
>
> you have to remove the dependency to tapestry-hibernate
>
> g,
> kris
>
Didn't help.
Now, I added only one dependency to tapestry-core-5.0.15.jar.
And the problem remains the same:
java.lang.NoClassDefFoundError: org/hibernate/Session
...
Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
...
any other ideas?
--
View this message in context:
http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p19758666.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound
exception
Posted by shymon <sh...@poczta.onet.pl>.
kristian.marinkovic wrote:
>
> you have to remove the dependency to tapestry-hibernate
>
> g,
> kris
>
Didn't help.
Now, I added only one dependency to tapestry-core-5.0.15.jar.
And the problem remains the same:
java.lang.NoClassDefFoundError: org/hibernate/Session
...
Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
...
any other ideas?
--
View this message in context: http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p19758666.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound exception
Posted by Kristian Marinkovic <kr...@porsche.co.at>.
you have to remove the dependency to tapestry-hibernate
g,
kris
shymon <sh...@poczta.onet.pl>
01.10.2008 12:43
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>
An
users@tapestry.apache.org
Kopie
Thema
Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound exception
I'm trying to create my first simple application using Tapestry 5.015. My
IDE is NetBeans 6.1, and app is deployed to Glassfish v2ur2.
I have created web application, added Tapestry to project libraries,
configured web.xml, created Start.tml and Start class. But when I deploy
app
to appserver I got the following message:
deployed with moduleid = SimpleT5
WebModule[/SimpleT5]PWC1270: Exception starting filter app
java.lang.NoClassDefFoundError: org/hibernate/Session
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.getMethods(Class.java:1410)
at
org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:137)
at
org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.<init>(DefaultModuleDefImpl.java:106)
at
org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:122)
at
org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:149)
at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)
at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107)
at
org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
at
org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:75)
at
org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:76)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:257)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:369)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4389)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5189)
at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1584)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:974)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:591)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:635)
at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at
com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at
com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
at
com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
at
com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
at
com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:196)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at
com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1498)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 92 more
PWC1306: Startup of context /SimpleT5 failed due to previous errors
I don't want to use Hibernate. What can I do?
--
View this message in context:
http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p19757952.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org