Christian Petersen wrote:
>
> I have a class (DataHandler) which I use for all communication between my
> app's and my database. This works fine for my app's, but when I try to load
> my Servlet, which also should use this Class, I get the error pasted at the
> bottom of this email.
>
> javawebserver: java.lang.NoSuchMethodError: java.lang.System: method
> setProperty(Ljava/lang/String;L
> java/lang/String;)Ljava/lang/String; not found

Since this method was added in JDK 1.2, my first guess is a JDK problem.
Looking at the web page for Java Web Server
(http://www.sun.com/software/jwebserver/overview/index.html) I see the
following statement:

"JDK 1.1.7 runtime bundled, also supports running against Java 2."

So it appears that the web server is finding the JDK 1.1.7 packages and
using them. You need to start the server as described here:
http://www.sun.com/software/jwebserver/faq/faq.html#g1.5

Kevin Mukhar

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to