F
Froggy
Alright, I am new to Java, and I am having some major issues with it.
I am writing a servlet that will tinker with excel files, so I grabbed
the jexcelapi package (http://www.andykhan.com/jexcelapi/), and tried
to use. To no avail.
through the servlet, it ran the following error:
******************************************************
Error: 500
Internal Servlet Error:
java.lang.NoClassDefFoundError: jxl/read/biff/BiffException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.web.core.ServletWrapper.loadServlet(ServletWrapper.java:90)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:109)
at com.sun.web.core.InvokerServlet.service(InvokerServlet.java:169)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
at com.sun.web.core.Context.handleRequest(Context.java:375)
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:135)
******************************************************
So, thinking that I might have screwed things up, I tried first to
compile the demo ReadWrite.java file, then I ran the precompiled file
ReadWrite.class. Both of them resulted in the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
ReadWrite/class
I am pretty certain that the person who developed this knows a lot
more about Java than me, and therefore that this thing should work.
Now what stupid thing am I (not) doing?
BTW: win32, using the jsdk 2.1 and j2eesdk1.4
I installed j2eeesdk1.4, then extracted the jsdk 2.1 into the base
Java\ directory...
Please help me, I beg you.
I am writing a servlet that will tinker with excel files, so I grabbed
the jexcelapi package (http://www.andykhan.com/jexcelapi/), and tried
to use. To no avail.
through the servlet, it ran the following error:
******************************************************
Error: 500
Internal Servlet Error:
java.lang.NoClassDefFoundError: jxl/read/biff/BiffException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.web.core.ServletWrapper.loadServlet(ServletWrapper.java:90)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:109)
at com.sun.web.core.InvokerServlet.service(InvokerServlet.java:169)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
at com.sun.web.core.Context.handleRequest(Context.java:375)
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:135)
******************************************************
So, thinking that I might have screwed things up, I tried first to
compile the demo ReadWrite.java file, then I ran the precompiled file
ReadWrite.class. Both of them resulted in the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
ReadWrite/class
I am pretty certain that the person who developed this knows a lot
more about Java than me, and therefore that this thing should work.
Now what stupid thing am I (not) doing?
BTW: win32, using the jsdk 2.1 and j2eesdk1.4
I installed j2eeesdk1.4, then extracted the jsdk 2.1 into the base
Java\ directory...
Please help me, I beg you.