Skip to content
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

导入项目的时候遇到的3个问题 #13

Open
ghost opened this issue Apr 20, 2017 · 4 comments
Open

导入项目的时候遇到的3个问题 #13

ghost opened this issue Apr 20, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 20, 2017

  1. 编码:项目文件不是UTF-8编码的,我是用sublime打开后,一个一个复制到MyEclipse中改的编码
  2. sql文件只有表结构,没有测试数据,要自己加
  3. 部署的时候会抛出一个NullPointerException,位置在InitBloggerData的38行:“blogger.setPassword(null);”,这是因为在t_blogger中没有数据,因此要添加一行记录,再到数据库中看看该记录的id字段是多少,将BloggerMapper.xml的getBloggerData这条sql的id改为该字段值(默认是1)。重新部署才成功
@LBXS
Copy link

LBXS commented May 9, 2017

请问你现在有完善这个项目吗?

@ghost
Copy link
Author

ghost commented May 11, 2017 via email

@Noodles-Buddy
Copy link

请问,后来您又找到了什么别的项目吗?

@ghost
Copy link
Author

ghost commented Sep 21, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants