myeclipse运行登录出错,在线等,急急急!

来源:百度知道 编辑:UC知道 时间:2024/06/20 07:49:03
信息: Server startup in 29031 ms
2009-9-4 14:42:42 org.apache.catalina.connector.CoyoteAdapter convertURI
严重: Invalid URI encoding; using HTTP default
Hibernate: select user0_.password_md5 as col_0_0_ from t_users user0_ where user=?
Hibernate: select count(topic0_.id) as col_0_0_ from t_topics topic0_
Hibernate: select topic0_.id as id1_, topic0_.topic as topic1_, topic0_.post_topic_time as post3_1_, topic0_.view_count as view4_1_, topic0_.reply_count as reply5_1_, topic0_.last_reply_time as last6_1_, topic0_.topic_path as topic7_1_, topic0_.user_id as user8_1_, topic0_.last_reply_user_id as last9_1_ from t_topics topic0_ order by topic0_.last_reply_time desc limit ?
java.lang.NumberFormatException: For input string: "${totalPage}"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
省略...
14:43:03,921 ERROR [jsp]:704 - Servlet.service() for servlet jsp threw exception
java.lang.NumberFormatExceptio

在WEB-INF文件夹下的配置文件没配成功 ,建议你在DOS下启动tomcat服务器,在java代码中添加输出信息,这样可以跟踪每一步的操作。tomcat可以显示异常信息。

Invalid URI encoding; using HTTP default
非法的uri编码,使用http默认的方式
NumberFormatException是说你的参数类型搞错了,比如int的,你用String类型来接收