首页上一页 1 下一页尾页 5 条记录 1/1页
《Java项目开发实例自学手册》第一个案例报错 麻烦高手解决下
发表在JavaWeb图书答疑
2008-11-24
是否精华
是
否
版块置顶:
是
否
设置时间:
非永久
永久
起始时间:
结束时间:
是否扣分:
是
否
我把jspsmart这个JAR导入进去了但是还在WebRoot中下面的代码出现错误
<jsp:useBean id="su" scope="page" class="com.jspsmart.upload.SmartUpload"/>
com.jspsmart cannot be resolved to atype
the local variable su is nerver read
开发环境是 MyEclipse 6.0.1 JDK6.0 WINXP Tomcat 6.0
<jsp:useBean id="su" scope="page" class="com.jspsmart.upload.SmartUpload"/>
com.jspsmart cannot be resolved to atype
the local variable su is nerver read
开发环境是 MyEclipse 6.0.1 JDK6.0 WINXP Tomcat 6.0
精彩评论 5
2008-11-25
板凳
The import com.jspsmart cannot be resolved
The import com.jspsmart cannot be resolved
The import com.jspsmart cannot be resolved
No start tag (<ul>).
No start tag (<p>).
No start tag (<li>).
No start tag (<form>).
No start tag (<div>).
No start tag (<div>).
File cannot be resolved to a type
File cannot be resolved to a type
File cannot be resolved to a type
com.jspsmart cannot be resolved to a type
com.jspsmart cannot be resolved to a type
com.jspsmart cannot be resolved to a type
com.jspsmart cannot be resolved to a type
com.jspsmart cannot be resolved to a type
com.jspsmart cannot be resolved to a type
The import com.jspsmart cannot be resolved
The import com.jspsmart cannot be resolved
No start tag (<ul>).
No start tag (<p>).
No start tag (<li>).
No start tag (<form>).
No start tag (<div>).
No start tag (<div>).
File cannot be resolved to a type
File cannot be resolved to a type
File cannot be resolved to a type
com.jspsmart cannot be resolved to a type
com.jspsmart cannot be resolved to a type
com.jspsmart cannot be resolved to a type
com.jspsmart cannot be resolved to a type
com.jspsmart cannot be resolved to a type
com.jspsmart cannot be resolved to a type
2009-12-03
5L
主页能运行,可是eclipse中项目的WebRoot中的网页有错误,还有src中的以.java结尾的文件也有错误,
主页中的“用户登陆”登陆不上,
“注册”最后一步点击“提交”按钮不能正常注册成功。
“找回密码”能运行成功。
“新品上架”不能运行
“特价商品”不能运行
“烟酒”“食品”“办公用品”“IT数码”“服装鞋帽”“家用电器”都不能运行
后台管理的所有功能都不能用。请解答,可以的话,把你的项目发到我邮箱里好吗,谢谢了,快要交毕业设计了、
邮箱:459620388@qq.com
控制台信息为:
2009-12-3 10:46:11 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_10\bin;C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin
2009-12-3 10:46:11 org.apache.coyote.http11.Http11Protocol init
严重: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:8080
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
2009-12-3 10:46:11 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080
at org.apache.catalina.connector.Connector.initialize(Connector.java:1060)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
2009-12-3 10:46:11 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 425 ms
2009-12-3 10:46:11 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-12-3 10:46:11 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.16
2009-12-3 10:46:11 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "com.Listener.MyServletContextListener" is already configured for this context. The duplicate definition has been ignored.
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
2009-12-3 10:46:12 org.apache.coyote.http11.Http11Protocol start
严重: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind:8080
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)
at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:515)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)
at org.apache.catalina.connector.Connector.start(Connector.java:1131)
at org.apache.catalina.core.StandardService.start(StandardService.java:531)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2009-12-3 10:46:12 org.apache.catalina.startup.Catalina start
严重: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080
at org.apache.catalina.connector.Connector.start(Connector.java:1138)
at org.apache.catalina.core.StandardService.start(StandardService.java:531)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2009-12-3 10:46:12 org.apache.catalina.startup.Catalina start
信息: Server startup in 1301 ms
2009-12-3 10:46:12 org.apache.catalina.core.StandardServer await
严重: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)