Forums Register Login

Axis2-1.5 - Issue

+Pie Number of slices to send: Send
Hi,

I'm new to axis.

I compiling java files. Aim is to create web service using Axis2-1.5

Included all the jar files in the class path. But still not able to resolve this error.

Can you please help me in indentifying the required jar for this?

Thanks and Regards,
Priya

Error Message
=============

C:\egold-ws\src>javac -cp %CLASSPATH% com/hp/rmssd/webservice/media_ws/*.java
com/hp/rmssd/webservice/media_ws/MediaDetail.java:12: package org.apache.axis2.context does not exist
import org.apache.axis2.context.MessageContext;
^
com/hp/rmssd/webservice/media_ws/MediaDetail.java:13: package org.apache.axis2.transport.http does not exist
import org.apache.axis2.transport.http.HTTPConstants;
^
com/hp/rmssd/webservice/media_ws/MediaDetail.java:55: cannot find symbol
symbol : variable HTTPConstants
location: class com.hp.rmssd.webservice.media_ws.MediaDetail
ServletContext servletcontext = ((HttpServlet)MessageContext.getCurrentMessageContext().getPrope
rty(HTTPConstants.MC_HTTP_SERVLET)).getServletContext();

^
com/hp/rmssd/webservice/media_ws/MediaDetail.java:55: cannot find symbol
symbol : variable MessageContext
location: class com.hp.rmssd.webservice.media_ws.MediaDetail
ServletContext servletcontext = ((HttpServlet)MessageContext.getCurrentMessageContext().getPrope
rty(HTTPConstants.MC_HTTP_SERVLET)).getServletContext();
I claim this furniture in the name of The Ottoman Empire! You can keep this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1653 times.
Similar Threads
package org.apache.struts.action does not exists
problem in compiling servlet
Command line arguments
Javac cannot find servlet package
problem in Compiling servlets
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:33:32.