| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 3683 人关注过本帖
标题:cannot find symbol找不到符号?netBeans里面提示错误什么意思?
只看楼主 加入收藏
chairmancui
Rank: 1
等 级:新手上路
帖 子:22
专家分:0
注 册:2007-7-10
收藏
 问题点数:0 回复次数:1 
cannot find symbol找不到符号?netBeans里面提示错误什么意思?
cannot find symbol找不到符号?netBeans里面提示错误什么意思?
 我的连数据库的Bean的public class ExecuteDB extends ConnectDB{}这句话有错  可是在JBuilder里面没有提示错误
这是什么意思?
搜索更多相关主题的帖子: symbol cannot find netBeans 符号 
2008-01-14 18:28
chairmancui
Rank: 1
等 级:新手上路
帖 子:22
专家分:0
注 册:2007-7-10
收藏
得分:0 
这是我调试的时候出现的错误 调试后 之前的cannot find symbol错误没了 而且没有红色下滑曲线提示错误   


HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

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

An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:65: 找不到符号
符号: 方法 setuserName(java.lang.String)
位置: 类 bbs.User
    User.setuserName(sUserName);
            ^


An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:66: 找不到符号
符号: 方法 setuserPassword(java.lang.String)
位置: 类 bbs.User
    User.setuserPassword(sUserPassword);
            ^


An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:75: 找不到符号
符号: 方法 getuserName()
位置: 类 bbs.User
        session.setattribute("userName",User.getuserName());
                                                    ^


An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:76: 找不到符号
符号: 方法 getuserID()
位置: 类 bbs.User
        session.setattribute("userID",User.getuserID());
                                                  ^


An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:77: 找不到符号
符号: 方法 getrole()
位置: 类 bbs.User
        session.setattribute("role",User.getrole());
                                                ^


An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:80: 找不到符号
符号: 方法 getrole()
位置: 类 bbs.User
        if(User.getrole().equals("0"))
                       ^
6 错误



    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    (MonitorFilter.java:368)


root cause

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

An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:65: 找不到符号
符号: 方法 setuserName(java.lang.String)
位置: 类 bbs.User
    User.setuserName(sUserName);
            ^


An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:66: 找不到符号
符号: 方法 setuserPassword(java.lang.String)
位置: 类 bbs.User
    User.setuserPassword(sUserPassword);
            ^


An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:75: 找不到符号
符号: 方法 getuserName()
位置: 类 bbs.User
        session.setattribute("userName",User.getuserName());
                                                    ^


An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:76: 找不到符号
符号: 方法 getuserID()
位置: 类 bbs.User
        session.setattribute("userID",User.getuserID());
                                                  ^


An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:77: 找不到符号
符号: 方法 getrole()
位置: 类 bbs.User
        session.setattribute("role",User.getrole());
                                                ^


An error occurred at line: 9 in the jsp file: /user_login.jsp
Generated servlet error:
C:\Documents and Settings\cs\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\BBS\org\apache\jsp\user_005flogin_jsp.java:80: 找不到符号
符号: 方法 getrole()
位置: 类 bbs.User
        if(User.getrole().equals("0"))
                       ^
6 错误
2008-01-14 19:31
快速回复:cannot find symbol找不到符号?netBeans里面提示错误什么意思?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.101022 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved