billchen198318 / bamboobsc

next version move to https://github.com/billchen198318/hillfog, bambooBSC is an opensource Balanced Scorecard (BSC) Business Intelligence (BI) Web platform. BSC's Vision, Perspectives, Objectives of strategy, Key Performance Indicators (KPIs), Strategy Map, and SWOT, PDCA & PDCA report, Time Series Analysis.
Apache License 2.0
227 stars 110 forks source link

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

Open billchen198318 opened 5 years ago

billchen198318 commented 5 years ago

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