-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
博主,下载工程Maven编译后载入tomcat登录后无法显示数据 #8
Comments
数据库中的表格均已建立,其他工程读取数据库消息也是正常,但是这个工程里总是报错,且显示的页码是NaN,搜了一下是Not a Number. 不知这是因为什么? |
接口返回的是500,应该是java后端报错了,你看一下控制台 |
七月 21, 2017 10:21:34 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin 多谢楼主回复,上面的 NaN不知道为什么会报错? 我从您的Demo链接里看到是正常的。 |
at com.ssm.maven.core.admin.UserController.list(UserController.java:118),这里已经很清楚了,类型转换的问题,在UserController.java的118行,你改一下就好了 |
谢谢楼主,刚开始学J,Thx |
楼主,我把parseInt改成 PageBean pageBean = new PageBean(Integer.valueOf(page), Integer.valueOf(rows)); 后第一次载入后系统成功了。但是重启了一下电脑重新载入后,又开始报错,还是不太明白这个String-Int类型转换应该怎么弄? |
改了下代码,判空 |
多谢楼主反馈。 |
easyui内部封装的分页功能,pageination |
多谢您回复了! |
你是怎么编译的可以教教我吗?我使用eclipise,Eclipse中按File->Import->Existing Maven projects->next选择源码没反应?怎么做?谢谢大佬 |
The text was updated successfully, but these errors were encountered: