如题,版本: 3.2.0,报错信息如下:
github 账号授权跳回来失败.无法添加账户.大神帮看看
[ERROR]-[2019-03-18 18:55:16]-[org.b3log.solo.service.UserMgmtService:241]: Adds a user failed
org.b3log.latke.repository.RepositoryException: java.sql.SQLException: Field 'userPassword' doesn't have a default value
at org.b3log.latke.repository.jdbc.JdbcRepository.add(JdbcRepository.java:155)
at org.b3log.latke.repository.AbstractRepository.add(AbstractRepository.java:100)
at org.b3log.solo.service.UserMgmtService.addUser(UserMgmtService.java:232)
at org.b3log.solo.service.UserMgmtService_$$_jvst7ae_36._d0addUser(UserMgmtService_$$_jvst7ae_36.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.b3log.latke.ioc.JavassistMethodHandler.invoke(JavassistMethodHandler.java:116)
at org.b3log.solo.service.UserMgmtService_$$_jvst7ae_36.addUser(UserMgmtService_$$_jvst7ae_36.java)
at org.b3log.solo.processor.OAuthProcessor.showAuthCallback(OAuthProcessor.java:207)
at org.b3log.solo.processor.OAuthProcessor_$$_jvst7ae_8._d8showAuthCallback(OAuthProcessor_$$_jvst7ae_8.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于