Solved

I am close to breaking something

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
A procedure for exporting installed hotfix details of remote computers using powershell
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now