?
Solved

I am close to breaking something

Posted on 2004-08-24
3
Medium Priority
?
197 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
[X]
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
  • 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 2000 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Introducing Priority Question, our latest feature.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

765 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