Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Adelina Fischer   on Aug 24 In Java Category.

  
Question Answered By: Cais Nguyen   on Aug 24

OK, a little more info. Aside from a couple of
syntax errors in my xml <blush> I checked the log
and found that was initializing class  repository to
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_
Don't know why or how to change that path, but by
moving the servlet  there, it could find it. I'm sure
your path will be different; check the log to find out.

But the problem is not solved. It's in a package
(I named mine testservlet so it's testservlet.testservlet)
and the loader complains that the name doesn't match.
It's wanting testservlet/testservlet. I tried moving
it to a testservlet subdirectory, renaming my servlet
class in web.xml to testservlet.testservlet, and both,
still to no avail. Might try building it outside of a
package, but there has to be a way to make this work.

C'mon folks. Somebody out there has to know about this
than we do. Pretty please.... :D

I think Java would wipe out Microsoft if it weren't so
cryptic.

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Tomcat and Servlet Or get search suggestion and latest updates.


Tagged: