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

为何部署在web 中,会报错, #3

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 2 comments
Open

为何部署在web 中,会报错, #3

GoogleCodeExporter opened this issue Mar 15, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

我在IDE中直接运行test.java 
是可以进行分词的,但是运行在tomcat 
服务器中就报错,javax.servlet.ServletException: 
java.lang.NoClassDefFoundError: Could not initialize class fx.sunjoy.SmallSeg
请麻烦详解一下,是否还要加什么配置文件的?谢谢

Original issue reported on code.google.com by maxj4...@163.com on 17 Aug 2010 at 11:59

@GoogleCodeExporter
Copy link
Author

还有就是报了这个异常 
javax.servlet.ServletException: java.lang.OutOfMemoryError: Java heap space

Original comment by maxj4...@163.com on 17 Aug 2010 at 12:36

@GoogleCodeExporter
Copy link
Author

应该不会啊,是不是您增大了词库?
smallseg会在初始化的时候加载词库到static变量中,我在GAE上用
的好好的:http://smallseg.appspot.com/smallseg


Original comment by ccnu...@gmail.com on 15 Dec 2010 at 11:45

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

1 participant