Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

I am close to breaking something

Posted on 2004-08-24
3
193 Views
Last Modified: 2010-04-01
This is driving me insane.

I have netbeans installed, I programmed a class and put it in the web-inf/classes folder, then I called it using

TrainingConnect trainingConnect = new TrainingConnect();

Netbeans even used code assist to let me know that it found the class.

Then when I run it, it gives me the error:

C:\Documents and Settings\marcadam\.netbeans\3.6\jakarta-tomcat-5.0.19_base\work\Catalina\localhost\jsp\org\apache\jsp\records_jsp.java:59: cannot resolve symbol
symbol  : class TrainingConnect
location: class org.apache.jsp.records_jsp
 TrainingConnect trainingConnect = new TrainingConnect();
 ^
C:\Documents and Settings\marcadam\.netbeans\3.6\jakarta-tomcat-5.0.19_base\work\Catalina\localhost\jsp\org\apache\jsp\records_jsp.java:59: cannot resolve symbol
symbol  : class TrainingConnect
location: class org.apache.jsp.records_jsp
 TrainingConnect trainingConnect = new TrainingConnect();
                                       ^
2 errors


Why the hell won't it find my class? It;s pissing me off.

Thanks for any help you can give.
0
Comment
Question by:k41d3n
  • 2
3 Comments
 
LVL 18

Expert Comment

by:bobbit31
ID: 11885369
at top of your jsp page:

<% page import="yourpackage.TrainingConnect" %>
0
 
LVL 18

Accepted Solution

by:
bobbit31 earned 500 total points
ID: 11885382
oops:

<%@ page import="..." %>
0
 
LVL 2

Author Comment

by:k41d3n
ID: 11885893
haha yeah, I figured that one out 3 seconds after I posted.

Old school tomcat didn't require that

thanks man!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to group array of objects ? 5 69
reflections, dynamic class loading 3 73
Java Script nested call 3 86
jsp insert to database example 2 43
Businesses who process credit card payments have to adhere to PCI Compliance standards. Here’s why that’s important.
ConnectWise and their customers need to ensure critical alerts automatically reach the right person at the right time. MSP superheros efficiently respond to these alerts key is providing automatic, intelligent alerting that generates a complete audi…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question