RE: NoClassDefFoundError for class Resources
Thanks Chris! That did it. I added ibatis-sqlmap-2.3.0.jar To my application.xml file. -Original Message- From: Chris Lamey [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 5:14 PM To: user-java@ibatis.apache.org Subject: RE: NoClassDefFoundError for class Resources My fault, I'm not "up" on EJBs and ear files. In fact, I've just managed to get rid of the single ear file I've ever worked with (I inherited it). Anyway, I was asking about your application.xml because whenever I had to add a new jar to the ear deployment, I usually forgot to add it as a java module to that file (it didn't use the manfiest classpath route). Regardless, this is not specifically an iBATIS problem but rather a JBoss/ear deployment issue. There's nothing special about the iBATIS jar that makes it different than other jars. It really sounds to me like a classloader level issue, where your EJB is at one level and can't see the iBATIS jar at a different level. Check both your ejb jar manifest and your ear manifest to see if things are in the right places and that the are no syntax errors. Cheers, Chris On Wed, 2007-05-16 at 16:53 -0400, Steve Wooten wrote: > I'm sorry I don't think I am following you here. > My ejb deployment descriptor has my session and entity beans in it. > I have no issue finding and using them. > > I have other 3rd party jars deployed in my ear like commons-collections and > I have no issue using those classes. > > My application.xml for my ear deploys a war and an ejb jar as well as my 3rd > party jars. The manifest has the class path listed with those jars on it. > > > -Original Message- > From: Chris Lamey [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 16, 2007 4:21 PM > To: user-java@ibatis.apache.org > Subject: RE: NoClassDefFoundError for class Resources > > What does your ear file's deployment descriptor look like? > > On Wed, 2007-05-16 at 16:15 -0400, Steve Wooten wrote: > > Thanks for the response but that is not the issue. > > I am deploying an ear file. All of the ibatis work is done in a session > > bean so the web application knows nothing about it. > > > > I have used ibatis 2.0.9 this way in other projects. > > I have done many j2ee applications and I am pretty confident in using > jboss. > > > > Any other suggestions? > > > > > > > > -Original Message- > > From: Yee, Richard K CTR DMDC [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 16, 2007 3:02 PM > > To: user-java@ibatis.apache.org > > Subject: RE: NoClassDefFoundError for class Resources > > > > This is caused by the fact that EJB classes are loaded by a different > > class loader than the one used by the web application. Check your Jboss > > documentation for using EJBs. > > > > -Richard > > > > > > -Original Message- > > From: Steve Wooten [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 16, 2007 11:16 AM > > To: user-java@ibatis.apache.org > > Subject: NoClassDefFoundError for class Resources > > > > Hello, > > > > Has anyone else had this issue? > > > > I am at a loss on how to solve it. > > > > > > > > I am attempting to use ibatis in a Session bean with JBoss. > > > > I have a helper class that loads the ibatis config with the following > > code > > > > try { > > > > ibatisConfigReader = > > com.ibatis.common.resources.Resources > > > > getResourceAsReader("SqlMapConfig.xml"); > > > > ibatisSqlMap = SqlMapClientBuilder > > > > buildSqlMapClient(ibatisConfigReader); > > > > } catch (Exception ex) { > > > > log.fatal("Exception reading ibatis config file", ex); > > > > } > > > > I have all the ibatis jar file deploying with my ear so I know the file > > "com/ibatis/common/resources/Resources exist." > > > > The ibatis jar is deployed just like all my other 3rd party jars. I > > have no issues referencing them. > > > > However when the above code is run I get > > java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources > > > > > > > > Please Help! > > > > > > > > > > >
RE: NoClassDefFoundError for class Resources
My fault, I'm not "up" on EJBs and ear files. In fact, I've just managed to get rid of the single ear file I've ever worked with (I inherited it). Anyway, I was asking about your application.xml because whenever I had to add a new jar to the ear deployment, I usually forgot to add it as a java module to that file (it didn't use the manfiest classpath route). Regardless, this is not specifically an iBATIS problem but rather a JBoss/ear deployment issue. There's nothing special about the iBATIS jar that makes it different than other jars. It really sounds to me like a classloader level issue, where your EJB is at one level and can't see the iBATIS jar at a different level. Check both your ejb jar manifest and your ear manifest to see if things are in the right places and that the are no syntax errors. Cheers, Chris On Wed, 2007-05-16 at 16:53 -0400, Steve Wooten wrote: > I'm sorry I don't think I am following you here. > My ejb deployment descriptor has my session and entity beans in it. > I have no issue finding and using them. > > I have other 3rd party jars deployed in my ear like commons-collections and > I have no issue using those classes. > > My application.xml for my ear deploys a war and an ejb jar as well as my 3rd > party jars. The manifest has the class path listed with those jars on it. > > > -Original Message- > From: Chris Lamey [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 16, 2007 4:21 PM > To: user-java@ibatis.apache.org > Subject: RE: NoClassDefFoundError for class Resources > > What does your ear file's deployment descriptor look like? > > On Wed, 2007-05-16 at 16:15 -0400, Steve Wooten wrote: > > Thanks for the response but that is not the issue. > > I am deploying an ear file. All of the ibatis work is done in a session > > bean so the web application knows nothing about it. > > > > I have used ibatis 2.0.9 this way in other projects. > > I have done many j2ee applications and I am pretty confident in using > jboss. > > > > Any other suggestions? > > > > > > > > -Original Message- > > From: Yee, Richard K CTR DMDC [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 16, 2007 3:02 PM > > To: user-java@ibatis.apache.org > > Subject: RE: NoClassDefFoundError for class Resources > > > > This is caused by the fact that EJB classes are loaded by a different > > class loader than the one used by the web application. Check your Jboss > > documentation for using EJBs. > > > > -Richard > > > > > > -Original Message- > > From: Steve Wooten [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 16, 2007 11:16 AM > > To: user-java@ibatis.apache.org > > Subject: NoClassDefFoundError for class Resources > > > > Hello, > > > > Has anyone else had this issue? > > > > I am at a loss on how to solve it. > > > > > > > > I am attempting to use ibatis in a Session bean with JBoss. > > > > I have a helper class that loads the ibatis config with the following > > code > > > > try { > > > > ibatisConfigReader = > > com.ibatis.common.resources.Resources > > > > getResourceAsReader("SqlMapConfig.xml"); > > > > ibatisSqlMap = SqlMapClientBuilder > > > > buildSqlMapClient(ibatisConfigReader); > > > > } catch (Exception ex) { > > > > log.fatal("Exception reading ibatis config file", ex); > > > > } > > > > I have all the ibatis jar file deploying with my ear so I know the file > > "com/ibatis/common/resources/Resources exist." > > > > The ibatis jar is deployed just like all my other 3rd party jars. I > > have no issues referencing them. > > > > However when the above code is run I get > > java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources > > > > > > > > Please Help! > > > > > > > > > > >
RE: NoClassDefFoundError for class Resources
I'm sorry I don't think I am following you here. My ejb deployment descriptor has my session and entity beans in it. I have no issue finding and using them. I have other 3rd party jars deployed in my ear like commons-collections and I have no issue using those classes. My application.xml for my ear deploys a war and an ejb jar as well as my 3rd party jars. The manifest has the class path listed with those jars on it. -Original Message- From: Chris Lamey [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 4:21 PM To: user-java@ibatis.apache.org Subject: RE: NoClassDefFoundError for class Resources What does your ear file's deployment descriptor look like? On Wed, 2007-05-16 at 16:15 -0400, Steve Wooten wrote: > Thanks for the response but that is not the issue. > I am deploying an ear file. All of the ibatis work is done in a session > bean so the web application knows nothing about it. > > I have used ibatis 2.0.9 this way in other projects. > I have done many j2ee applications and I am pretty confident in using jboss. > > Any other suggestions? > > > > -Original Message- > From: Yee, Richard K CTR DMDC [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 16, 2007 3:02 PM > To: user-java@ibatis.apache.org > Subject: RE: NoClassDefFoundError for class Resources > > This is caused by the fact that EJB classes are loaded by a different > class loader than the one used by the web application. Check your Jboss > documentation for using EJBs. > > -Richard > > > -Original Message- > From: Steve Wooten [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 16, 2007 11:16 AM > To: user-java@ibatis.apache.org > Subject: NoClassDefFoundError for class Resources > > Hello, > > Has anyone else had this issue? > > I am at a loss on how to solve it. > > > > I am attempting to use ibatis in a Session bean with JBoss. > > I have a helper class that loads the ibatis config with the following > code > > try { > > ibatisConfigReader = > com.ibatis.common.resources.Resources > > getResourceAsReader("SqlMapConfig.xml"); > > ibatisSqlMap = SqlMapClientBuilder > > buildSqlMapClient(ibatisConfigReader); > > } catch (Exception ex) { > > log.fatal("Exception reading ibatis config file", ex); > > } > > I have all the ibatis jar file deploying with my ear so I know the file > "com/ibatis/common/resources/Resources exist." > > The ibatis jar is deployed just like all my other 3rd party jars. I > have no issues referencing them. > > However when the above code is run I get > java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources > > > > Please Help! > > > > >
RE: NoClassDefFoundError for class Resources
What does your ear file's deployment descriptor look like? On Wed, 2007-05-16 at 16:15 -0400, Steve Wooten wrote: > Thanks for the response but that is not the issue. > I am deploying an ear file. All of the ibatis work is done in a session > bean so the web application knows nothing about it. > > I have used ibatis 2.0.9 this way in other projects. > I have done many j2ee applications and I am pretty confident in using jboss. > > Any other suggestions? > > > > -Original Message- > From: Yee, Richard K CTR DMDC [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 16, 2007 3:02 PM > To: user-java@ibatis.apache.org > Subject: RE: NoClassDefFoundError for class Resources > > This is caused by the fact that EJB classes are loaded by a different > class loader than the one used by the web application. Check your Jboss > documentation for using EJBs. > > -Richard > > > -Original Message- > From: Steve Wooten [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 16, 2007 11:16 AM > To: user-java@ibatis.apache.org > Subject: NoClassDefFoundError for class Resources > > Hello, > > Has anyone else had this issue? > > I am at a loss on how to solve it. > > > > I am attempting to use ibatis in a Session bean with JBoss. > > I have a helper class that loads the ibatis config with the following > code > > try { > > ibatisConfigReader = > com.ibatis.common.resources.Resources > > getResourceAsReader("SqlMapConfig.xml"); > > ibatisSqlMap = SqlMapClientBuilder > > buildSqlMapClient(ibatisConfigReader); > > } catch (Exception ex) { > > log.fatal("Exception reading ibatis config file", ex); > > } > > I have all the ibatis jar file deploying with my ear so I know the file > "com/ibatis/common/resources/Resources exist." > > The ibatis jar is deployed just like all my other 3rd party jars. I > have no issues referencing them. > > However when the above code is run I get > java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources > > > > Please Help! > > > > >
RE: NoClassDefFoundError for class Resources
Thanks for the response but that is not the issue. I am deploying an ear file. All of the ibatis work is done in a session bean so the web application knows nothing about it. I have used ibatis 2.0.9 this way in other projects. I have done many j2ee applications and I am pretty confident in using jboss. Any other suggestions? -Original Message- From: Yee, Richard K CTR DMDC [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 3:02 PM To: user-java@ibatis.apache.org Subject: RE: NoClassDefFoundError for class Resources This is caused by the fact that EJB classes are loaded by a different class loader than the one used by the web application. Check your Jboss documentation for using EJBs. -Richard -Original Message- From: Steve Wooten [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 11:16 AM To: user-java@ibatis.apache.org Subject: NoClassDefFoundError for class Resources Hello, Has anyone else had this issue? I am at a loss on how to solve it. I am attempting to use ibatis in a Session bean with JBoss. I have a helper class that loads the ibatis config with the following code try { ibatisConfigReader = com.ibatis.common.resources.Resources getResourceAsReader("SqlMapConfig.xml"); ibatisSqlMap = SqlMapClientBuilder buildSqlMapClient(ibatisConfigReader); } catch (Exception ex) { log.fatal("Exception reading ibatis config file", ex); } I have all the ibatis jar file deploying with my ear so I know the file "com/ibatis/common/resources/Resources exist." The ibatis jar is deployed just like all my other 3rd party jars. I have no issues referencing them. However when the above code is run I get java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources Please Help!
RE: NoClassDefFoundError for class Resources
This is caused by the fact that EJB classes are loaded by a different class loader than the one used by the web application. Check your Jboss documentation for using EJBs. -Richard -Original Message- From: Steve Wooten [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 11:16 AM To: user-java@ibatis.apache.org Subject: NoClassDefFoundError for class Resources Hello, Has anyone else had this issue? I am at a loss on how to solve it. I am attempting to use ibatis in a Session bean with JBoss. I have a helper class that loads the ibatis config with the following code try { ibatisConfigReader = com.ibatis.common.resources.Resources getResourceAsReader("SqlMapConfig.xml"); ibatisSqlMap = SqlMapClientBuilder buildSqlMapClient(ibatisConfigReader); } catch (Exception ex) { log.fatal("Exception reading ibatis config file", ex); } I have all the ibatis jar file deploying with my ear so I know the file "com/ibatis/common/resources/Resources exist." The ibatis jar is deployed just like all my other 3rd party jars. I have no issues referencing them. However when the above code is run I get java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources Please Help!
Re: NoClassDefFoundError Resources
Did you declare that jar in the ear deployment descriptor? On Wed, 2007-05-09 at 14:52 -0400, Steve Wooten wrote: > I am attempting to use ibatis in a Session bean with JBoss. > > I have a helper class that load the ibatis config with the following > code > >try { > > ibatisConfigReader = > com.ibatis.common.resources.Resources > > .getResourceAsReader("SqlMapConfig.xml"); > > ibatisSqlMap = SqlMapClientBuilder > > .buildSqlMapClient(ibatisConfigReader); > > } catch (Exception ex) { > > log.fatal("Exception reading ibatis config file", > ex); > > } > > > > If I run this with my IDE (Eclipse) it works fine. > > I have all the ibatis jar file deploying with my ear so I know the > file “com/ibatis/common/resources/Resources exist.” > > My application is able to find all other classes deployed in other jar > files however once it is deployed on the server I get the following > error: > > java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources > > > > Please Help! > > > > Stack trace is below > > java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources > > at com.nc4.athena.QueryHelper.init(QueryHelper.java:42) > > at com.nc4.athena.QueryHelper.(QueryHelper.java:58) > > at > com.nc4.athena.dao.PartyRelationTypeDAO.(PartyRelationTypeDAO.java:51) > > at > com.nc4.athena.dao.PartyRelationTypeDAO.getInstance(PartyRelationTypeDAO.java:61) > > at > com.nc4.athena.session.TypeTableManagerEJB.getPartyRelationTypeList(TypeTableManagerEJB.java:892) > > 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.jboss.invocation.Invocation.performCall(Invocation.java:359) > > at org.jboss.ejb.StatelessSessionContainer > $ContainerInterceptor.invoke(StatelessSessionContainer.java:237) > > at > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) > > at > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) > > at > org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) > > at > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) > > at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378) > > at > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) > > at > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) > > at > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) > > at > org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136) > > at > org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) > > at org.jboss.ejb.Container.invoke(Container.java:954) > > 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at org.jboss.invocation.local.LocalInvoker > $MBeanServerAction.invoke(LocalInvoker.java:169) > > at > org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) > > at > org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) > > at > org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) > > at > org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) > > at > org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) > > at > org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112) > > at > org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) > > at $Proxy148.getPartyRelationTypeList(Unknown Source) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > su
RE: Noclassdeffounderror
Your web container automatically loads all the jars in WEB-INF/lib. If you are having problems running ibatis from your ***WEB CONTAINER*** then you need to put the ibatis jars there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 4:47 PM To: user-java@ibatis.apache.org Subject: RE: Noclassdeffounderror Should I import the jar files into my web-inf/lib? Mithra Rajah -Original Message- From: Voorhoeve, Niels {PBG} [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 4:41 PM To: user-java@ibatis.apache.org Subject: RE: Noclassdeffounderror Your application server's WEB-INF/lib directory. That's the usual location for jar deployment. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 4:35 PM To: user-java@ibatis.apache.org Subject: RE: Noclassdeffounderror I don't understand, they are on my class path; What do you mean by runtime location? Thanks, Mithra Rajah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: Monday, October 24, 2005 4:20 PM To: user-java@ibatis.apache.org Subject: Re: Noclassdeffounderror ...at run time, where are the jar files? Larry On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have put all the jars on my java build path in Eclipse. When I compile the > program in Eclipse, I do not get any errors. I also have the > ibatis-common-2.jar & sqlmap-2.jar on my class path > > > Mithra Rajah > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Larry Meadors > Sent: Monday, October 24, 2005 3:57 PM > To: user-java@ibatis.apache.org > Subject: Re: Noclassdeffounderror > > Where is the struts jar, and where is the ibatis jar? > > Larry > > On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > I get this error when I use IBATIS with struts: > > > > java.lang.NoClassDefFoundError: > > com/ibatis/common/resources/Resources > > > > I have set the classpath correctly. > > > > Please help, > > > > Mithra > > > > >
RE: Noclassdeffounderror
Should I import the jar files into my web-inf/lib? Mithra Rajah -Original Message- From: Voorhoeve, Niels {PBG} [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 4:41 PM To: user-java@ibatis.apache.org Subject: RE: Noclassdeffounderror Your application server's WEB-INF/lib directory. That's the usual location for jar deployment. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 4:35 PM To: user-java@ibatis.apache.org Subject: RE: Noclassdeffounderror I don't understand, they are on my class path; What do you mean by runtime location? Thanks, Mithra Rajah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: Monday, October 24, 2005 4:20 PM To: user-java@ibatis.apache.org Subject: Re: Noclassdeffounderror ...at run time, where are the jar files? Larry On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have put all the jars on my java build path in Eclipse. When I compile the > program in Eclipse, I do not get any errors. I also have the > ibatis-common-2.jar & sqlmap-2.jar on my class path > > > Mithra Rajah > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Larry Meadors > Sent: Monday, October 24, 2005 3:57 PM > To: user-java@ibatis.apache.org > Subject: Re: Noclassdeffounderror > > Where is the struts jar, and where is the ibatis jar? > > Larry > > On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > I get this error when I use IBATIS with struts: > > > > java.lang.NoClassDefFoundError: > > com/ibatis/common/resources/Resources > > > > I have set the classpath correctly. > > > > Please help, > > > > Mithra > > > > >
RE: Noclassdeffounderror
Your application server's WEB-INF/lib directory. That's the usual location for jar deployment. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 4:35 PM To: user-java@ibatis.apache.org Subject: RE: Noclassdeffounderror I don't understand, they are on my class path; What do you mean by runtime location? Thanks, Mithra Rajah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: Monday, October 24, 2005 4:20 PM To: user-java@ibatis.apache.org Subject: Re: Noclassdeffounderror ...at run time, where are the jar files? Larry On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have put all the jars on my java build path in Eclipse. When I compile the > program in Eclipse, I do not get any errors. I also have the > ibatis-common-2.jar & sqlmap-2.jar on my class path > > > Mithra Rajah > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Larry Meadors > Sent: Monday, October 24, 2005 3:57 PM > To: user-java@ibatis.apache.org > Subject: Re: Noclassdeffounderror > > Where is the struts jar, and where is the ibatis jar? > > Larry > > On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > I get this error when I use IBATIS with struts: > > > > java.lang.NoClassDefFoundError: > > com/ibatis/common/resources/Resources > > > > I have set the classpath correctly. > > > > Please help, > > > > Mithra > > > > >
RE: Noclassdeffounderror
I don't understand, they are on my class path; What do you mean by runtime location? Thanks, Mithra Rajah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: Monday, October 24, 2005 4:20 PM To: user-java@ibatis.apache.org Subject: Re: Noclassdeffounderror ...at run time, where are the jar files? Larry On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have put all the jars on my java build path in Eclipse. When I compile the > program in Eclipse, I do not get any errors. I also have the > ibatis-common-2.jar & sqlmap-2.jar on my class path > > > Mithra Rajah > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Larry Meadors > Sent: Monday, October 24, 2005 3:57 PM > To: user-java@ibatis.apache.org > Subject: Re: Noclassdeffounderror > > Where is the struts jar, and where is the ibatis jar? > > Larry > > On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > I get this error when I use IBATIS with struts: > > > > java.lang.NoClassDefFoundError: > > com/ibatis/common/resources/Resources > > > > I have set the classpath correctly. > > > > Please help, > > > > Mithra > > > > >
Re: Noclassdeffounderror
...at run time, where are the jar files? Larry On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have put all the jars on my java build path in Eclipse. When I compile the > program in Eclipse, I do not get any errors. I also have the > ibatis-common-2.jar & sqlmap-2.jar on my class path > > > Mithra Rajah > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Larry Meadors > Sent: Monday, October 24, 2005 3:57 PM > To: user-java@ibatis.apache.org > Subject: Re: Noclassdeffounderror > > Where is the struts jar, and where is the ibatis jar? > > Larry > > On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > I get this error when I use IBATIS with struts: > > > > java.lang.NoClassDefFoundError: > > com/ibatis/common/resources/Resources > > > > I have set the classpath correctly. > > > > Please help, > > > > Mithra > > > > >
RE: Noclassdeffounderror
I have put all the jars on my java build path in Eclipse. When I compile the program in Eclipse, I do not get any errors. I also have the ibatis-common-2.jar & sqlmap-2.jar on my class path Mithra Rajah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: Monday, October 24, 2005 3:57 PM To: user-java@ibatis.apache.org Subject: Re: Noclassdeffounderror Where is the struts jar, and where is the ibatis jar? Larry On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, > > I get this error when I use IBATIS with struts: > > java.lang.NoClassDefFoundError: > com/ibatis/common/resources/Resources > > I have set the classpath correctly. > > Please help, > > Mithra > >
Re: Noclassdeffounderror
Where is the struts jar, and where is the ibatis jar? Larry On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, > > I get this error when I use IBATIS with struts: > > java.lang.NoClassDefFoundError: > com/ibatis/common/resources/Resources > > I have set the classpath correctly. > > Please help, > > Mithra > >