I'm currently stumped by a strange problem I'm having with the Torque
tutorial - I was hoping someone out there might have seen this problem
before. I'm getting a CLASSNOTFOUND exception when trying to run the
tutorial (latest copy from the web, using Linux and Postgresql 7.2)
I've included the stacktrace from the log file, but here's the basic
problem: It's having trouble instantiating the PublisherMapBuilder
class. You would think that it's a classpath issue (I certainly do..)
But I then tried
"java com.linkfoundation.om.map.PublisherMapBuilder"
expecting to get another CLASSNOTFOUND exception. Interestingly, it
gave me back the expected "no main found" - so it definitely found the
class.
As far as I can tell, my classpath is correct (it just contains the
jars, and bin/classes)
If anyone has any hints on what to look at (for example, could this
actually be a problem with Torque.properties or something?), I would
most greatly appreciate it.
-Peter
java.lang.ClassNotFoundException:
com.linkfoundation.om.map.PublisherMapBuilder
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at org.apache.torque.util.BasePeer.getMapBuilder(BasePeer.java:2117)
at
com.linkfoundation.om.BasePublisherPeer.getMapBuilder(BasePublisherPeer.java:40)
at
com.linkfoundation.om.BasePublisherPeer.<clinit>(BasePublisherPeer.java:57)
at com.linkfoundation.om.BasePublisher.<clinit>(BasePublisher.java:25)
at com.linkfoundation.om.Bookstore.main(Bookstore.java:23)
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>