This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 83989

Summary: nb5.5, can not run any java code on sun app server
Product: www Reporter: rksk <rksk>
Component: Builds & RepositoriesAssignee: nbbuild-issues@ide <nbbuild-issues>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: Other   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description rksk 2006-09-01 04:04:19 UTC
I downloaded netbeans 5.5 created two sample web projects one on Tomcat and the
other one on Sun app server, i am having a simple hello java code and a database
 connection java code both works fine when i deploy the website with Tomcat and
i cannnot able to run any java code when i deploy in Sun app server.

The following is the error message i am getting, it is really driving me
nuts,can any one help ASAP please


org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
    [javac]
C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\SampleWebApp\org\apache\jsp\TableResults_jsp.java:7:
package java.naming does not exist
    [javac] import java.naming.*;
    [javac] ^


Generated servlet error:
    [javac]
C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\SampleWebApp\org\apache\jsp\TableResults_jsp.java:86:
cannot find symbol
    [javac] symbol  : class InitialContext
    [javac] location: class org.apache.jsp.TableResults_jsp
    [javac]                InitialContext ctx = new InitialContext();
    [javac]                ^
Comment 1 Jesse Glick 2006-09-01 17:09:53 UTC
"javax.naming" not "java.naming".

Please use nbusers@netbeans.org for questions about using the IDE to develop
applications unless you are reasonably confident you are seeing a specific IDE
bug, in which case provide steps to reproduce from scratch.

Also please do not use the component 'nbbuild'. Use 'ide' if unsure which
component to file a new bug under.