Hi I saw a message with a similar question, but that did not clear my doubt. I have been running the reference implementation of J2EE and Apache server on win 2k. I have jsp code which gives the error Error: 500 Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPc:\j2sdkee1.2.1\repository\alopa\web\_0005csearch_0002ejspsearch_jsp_0.java:14: Class com.verity.search.Collections not found in import. import com.verity.search.Collections; ^ c:\j2sdkee1.2.1\repository\alopa\web\_0005csearch_0002ejspsearch_jsp_0.java:15: Class com.verity.search.Collection not found in import. import com.verity.search.Collection; ^ c:\j2sdkee1.2.1\repository\alopa\web\_0005csearch_0002ejspsearch_jsp_0.java:16: Class com.verity.search.VSearch not found in import. import com.verity.search.VSearch; ^ 3 errors How does one solve this problem? Thanks Henna
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
I would copy the foll. class files into the appropriate folders under the WEB-INF/classes folder. com.verity.search.Collections; com.verity.search.Collection; com.verity.search.VSearch; or jar them up and copy the jar file to the WEB-INF/lib folder of the application. Let us know if you have already done this... - satya
Hi I am working with sun's reference implementation of J2ee. I cannot find a WEB_INF folder. So I am not sure what else I can do in this case. I also don't know how I can get the class files from verity.com, thanks HEnna
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
I wonder what you were trying to do with J2EE when you got these errors? I mean were you trying to do some tutorials or deploy your own applications or what? Could you spell out more details so we could understand what you were trying to do.... - satya
Jayanthimeena
Greenhorn
Joined: Jul 24, 2001
Posts: 17
posted
0
Hai all You have to place all your classes in web-Inf/classes folder. which will be present by default. If further problem present set classpath to your class folder and try running. Bye jayanthi
If you mean the RI J2EE app server, then you need to jar those classes up, and add them as a Library for the EAR file.
I have since un-installed the RI, so I'm not sure of the screen, but I think if you click the EAR file in the tree view, there is a button on the right hand side that is for Adding jar files to the Library.
Hopefully you can figure it out from there.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.