compilation trouble with servlet-api.jar

A

alexjaquet

Hi,

I'm having a trouble when I'm trying to compile a servlet by executing
the following command line : javac -d . HelloWorldServlet.java

I've added in my classpath servlet-api.jar but still having compilation
errors.

Any idea ?

Thx
 
M

Matt Humphrey

Hi,

I'm having a trouble when I'm trying to compile a servlet by executing
the following command line : javac -d . HelloWorldServlet.java

I've added in my classpath servlet-api.jar but still having compilation
errors.

Any idea ?

Because JMR (Java Mind-Reading API) has not been invented yet, you'll have
to tell us what the error message is.

Matt Humphrey (e-mail address removed) http://www.iviz.com/
 
M

Matt Humphrey

Error founded I placed servlet-api in the classpath and not
serlvet-api.jar ...

It's amazing how often merely explaining the error to someone else leads one
to the solution.

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top