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

How to solve the java.lang.NoClassDefFoundError: Could not initialize class com.netsteadfast.greenstep.sys.BackgroundProgramUserUtils problem in Linux. #78

Open
billchen198318 opened this issue Dec 12, 2018 · 0 comments

Comments

@billchen198318
Copy link
Owner

billchen198318 commented Dec 12, 2018

How to solve the java.lang.NoClassDefFoundError: Could not initialize class com.netsteadfast.greenstep.sys.BackgroundProgramUserUtils problem in Linux.

The after 2018-12-12 10:43 bamboobsc-0.7.5-RELEASE.7z file no the problem.

In linux ( Ubuntu 16.04.5 ) run has error log, like:
java.lang.NoClassDefFoundError: Could not initialize class com.netsteadfast.greenstep.sys.BackgroundProgramUserUtils

First stop the tomcat service

step1:
remove shiro-all-1.4.0.jar file in Folder:
webapps/core-web/WEB-INF/lib/
webapps/gsbsc-web/WEB-INF/lib/
webapps/gsbsc-mobile-web/WEB-INF/lib/

step2:
download shiro-all-1.3.2.jar file, download url:
http://repo1.maven.org/maven2/org/apache/shiro/shiro-all/1.3.2/shiro-all-1.3.2.jar

copy the shiro-all-1.3.2.jar to Folder:
webapps/core-web/WEB-INF/lib/
webapps/gsbsc-web/WEB-INF/lib/
webapps/gsbsc-mobile-web/WEB-INF/lib/

start tomcat service
sudo ./catalina.sh run

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

1 participant