CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Error while publishing: "cannot resolve symbol : JspException"

Print topic Send  topic

Author Message
parker

Posts: 2
Posted: 11/14/2006, 9:37 AM

Hi,

while publish a java JSP - JDK project I receive the following error(s):

Any idea why this error occurs? Missing entry in the Classpath? (has current a reference to the the servlet 2.2, serlvet-api (from tomcat 5), sqljdbc driver)

Many thanks in advance for some help ...

  
java version "1.4.2_13"  
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)  
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)  
Apache Ant version 1.6.5 compiled on June 2 2005  
Buildfile: C:\DOCUME~1\User\LOCALS~1\Temp\~bkpraev\CCSBuild\build.xml  
init:  
     [echo] JSP build: 3.0.212  
  
  
check.servlet.lib:  
  
check.jsp.lib:  
  
check.jdk14.regexp:  
  
compile:  
    [mkdir] Created dir: C:\DOCUME~1\User\LOCALS~1\Temp\~bkpraev\CCSBuild\app\WEB-INF\classes  
    [javac] Compiling 315 source files to C:\DOCUME~1\User\LOCALS~1\Temp\~bkpraev\CCSBuild\app\WEB-INF\classes  
    [javac] C:\DOCUME~1\User\LOCALS~1\Temp\~bkpraev\CCSBuild\src\com\codecharge\tags\ToPdfTag.java:91: cannot resolve symbol  
    [javac] symbol  : constructor JspException (java.lang.String,java.io.IOException)  
    [javac] location: class javax.servlet.jsp.JspException  
    [javac]             throw new JspException("unexpected IO error", ex);  
    [javac]                   ^  
    [javac] C:\DOCUME~1\User\LOCALS~1\Temp\~bkpraev\CCSBuild\src\com\codecharge\tags\ToPdfTag.java:93: cannot resolve symbol  
[javac] symbol  : constructor JspException (java.lang.Exception)  
    [javac] location: class javax.servlet.jsp.JspException  
    [javac]             throw new JspException(e);  
    [javac]                   ^  
    [javac] C:\DOCUME~1\User\LOCALS~1\Temp\~bkpraev\CCSBuild\src\com\codecharge\tags\calendar\MonthTag.java:54: cannot resolve symbol  
    [javac] symbol  : variable EVAL_BODY_AGAIN   
    [javac] location: class com.codecharge.tags.calendar.MonthTag  
    [javac]             return EVAL_BODY_AGAIN;  
    [javac]                    ^  
    [javac] C:\DOCUME~1\User\LOCALS~1\Temp\~bkpraev\CCSBuild\src\com\codecharge\tags\calendar\WeekdaysTag.java:64: cannot resolve symbol  
    [javac] symbol  : variable EVAL_BODY_AGAIN   
    [javac] location: class com.codecharge.tags.calendar.WeekdaysTag  
    [javac]         return EVAL_BODY_AGAIN;  
    [javac]                ^  
    [javac] Note: Some input files use or override a deprecated API.  
    [javac] Note: Recompile with -deprecation for details.  
    [javac] 4 errors  
  
BUILD FAILED  
View profile  Send private message
LH_13

Posts: 30
Posted: 11/15/2006, 5:06 AM

Seems you have no jsp-api in your classpath.
For tomcat 4 it included to servlet.jar
For tomcat 5 it is in separate files : servlet-api.jar and jap-api.jar.
_________________
Sorry my english!
View profile  Send private message
parker

Posts: 2
Posted: 11/15/2006, 6:44 AM

That's it!
After adding the file to my classpath everthing works fine.

Many thanks ...

Have a great week.

Regards
Parker
View profile  Send private message
LH_13

Posts: 30
Posted: 11/15/2006, 7:01 AM

Thanx.
I don't know which classpath you have in mind.
But I can advice you to add this jar(s) to system environmental variable named classpath.
This way you don't need set it's to ewery project.

_________________
Sorry my english!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.