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

nutz-1.b.39在glassfish v2.1环境出现类初始化失败 #41

Closed
shinwell opened this issue Aug 23, 2011 · 2 comments
Closed

nutz-1.b.39在glassfish v2.1环境出现类初始化失败 #41

shinwell opened this issue Aug 23, 2011 · 2 comments
Assignees
Milestone

Comments

@shinwell
Copy link

问题产生的条件:

nutz-1.b.39
jdk 1.6
glassfish v2.1

发生问题的调用代码:

问题的详细说明:

如果把nutz的jar包放在WEB-INF\lib目录中, 在glassfish v2.1环境启动, org.nutz.dao.jdbc.Jdbcs类初始化会失败.

54行报错, 应该是classloader的问题, 找不到org/nutz/dao/jdbc/nutz_jdbc_experts.js

解决办法:

把nutz-1.b.39-jdk6.jar还有log4jxxxx.jar两个文件, 放到glassfish的lib目录或者domains的lib目录

@ghost ghost assigned wendal Aug 24, 2011
@wendal
Copy link
Member

wendal commented Aug 24, 2011

我测试了一下,用的2.1.1正常运行了

使用的是NutQuickStart项目

@wendal
Copy link
Member

wendal commented Sep 6, 2011

真的没发现问题啊

@wendal wendal closed this as completed Sep 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants