db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon August <...@internection.com>
Subject Re: MapBuilder failed trying to instantiate
Date Wed, 13 Dec 2006 22:32:47 GMT
Hey,

Thanks for the tip.  I started with fresh downloads via maven and I  
think it neglected to grab everything needed for the runtime  
environment.  I'm up and running now.

-Jon




On Dec 13, 2006, at 12:57 PM, Husek, Paul wrote:

> Jon,
>
> I think that's a problem with the web filter.  If you go into the web
> container you should see all the classes in your src directories in  
> the
> web container under WEB-INF/classes.  IF they're not there you'll get
> that error.  You can modify the filter or just select "COPY ALL".  I'd
> go with the latter.
>
> Paul
>
>
> -----Original Message-----
> From: Jon August [mailto:jon@internection.com]
> Sent: Wednesday, December 13, 2006 10:29 AM
> To: Apache Torque Users List
> Subject: MapBuilder failed trying to instantiate
>
> Hello,
>
> I'm working on a new project using MySQL.  When I start up Tomcat
> 5.0, I get the errors below.  when I try to do an insert, I get this:
>
> org.apache.torque.TorqueException: java.lang.ClassNotFoundException:
> com.internection.washpress.torque.map.ItemMapBuilder
>
> I have a feeling it's a problem with the jar files I'm using, but I
> don't know where to start.  Any help is appreciated.
>
> Thanks,
>       -Jon
>
>
>
>
> SEVERE: BasePeer.MapBuilder failed trying to instantiate:
> com.internection.washpress.torque.map.ItemMapBuilder
> java.lang.ClassNotFoundException:
> com.internection.washpress.torque.map.ItemMapBuilder
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass
> (WebappClassLoader.java:1340)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass
> (WebappClassLoader.java:1189)
> 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:141)
> 	at
> org.apache.torque.util.BasePeer.getMapBuilder(BasePeer.java:1355)
> 	at com.internection.washpress.torque.BaseItemPeer.getMapBuilder
> (BaseItemPeer.java:59)
> 	at
> com.internection.washpress.torque.BaseItem.save(BaseItem.java:459)
> 	at
> org.apache.jsp.addExecute_jsp._jspService(addExecute_jsp.java:69)
> 	at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:324)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile
> (JspServlet.java:292)
> 	at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:237)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:157)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:214)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext
> (StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardContextValve.invokeInternal
> (StandardContextValve.java:198)
> 	at org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:152)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext
> (StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:137)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext
> (StandardValveContext.java:104)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:117)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext
> (StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:109)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext
> (StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:520)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
> 929)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service
> (CoyoteAdapter.java:160)
> 	at org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:799)
> 	at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt
> (PoolTcpEndpoint.java:577)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
>
> (ThreadPool.java:683)
> 	at java.lang.Thread.run(Thread.java:552)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message