Solved

I am close to breaking something

Posted on 2004-08-24
3
192 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

803 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