Home > OS >  NoClassDefFoundError under Linux start tomcat error, but the jar package has been in existence under
NoClassDefFoundError under Linux start tomcat error, but the jar package has been in existence under

Time:10-20

Error message:
On May 8, 2017 afternoon 3:52:46 org. Apache. Catalina. Loader. WebappClassLoader loadClass
Information: Illegal access: this web application instance has had been stopped already. Could not load The couchbase. Client. Core. Config. The refresher. CarrierRefresher $6. The eventual following stack trace is under caused by an error thrown for was debugging purposes as well as to attempt to terminate The thread which under caused The Illegal access, and has no functional impact.
Java. Lang. An IllegalStateException
The at org. Apache. Catalina. Loader. WebappClassLoader. LoadClass (WebappClassLoader. Java: 1600)
The at org. Apache. Catalina. Loader. WebappClassLoader. LoadClass (WebappClassLoader. Java: 1559)
At com. Couchbase. Client. Core. Config. Refresher. CarrierRefresher. Refresh (CarrierRefresher. Java: 171)
At com. Couchbase. Client. Core. Config. DefaultConfigurationProvider. SignalOutdated (DefaultConfigurationProvider. Java: 356)
At com. Couchbase. Client. Core. Config. Refresher. CarrierRefresher $1. Call (83) CarrierRefresher. Java:
At com. Couchbase. Client. Core. Config. Refresher. CarrierRefresher $1. Call (80) CarrierRefresher. Java:
The at rx. $27 observables. OnNext (observables. Java: 8002)
The at rx. Observers. SafeSubscriber. OnNext (SafeSubscriber. Java: 139)
The at rx. Internal. Operators. OnSubscribeTimerPeriodically $1. The call (OnSubscribeTimerPeriodically. Java: 52)
The at rx. The Scheduler $Worker $1. Call (120) Scheduler. Java:
The at rx. Internal. Schedulers. ScheduledAction. Run (55) ScheduledAction. Java:
The at Java. Util. Concurrent. Executors $RunnableAdapter. Call (471) Executors. Java:
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 262)
The at Java. Util. Concurrent. ScheduledThreadPoolExecutor $ScheduledFutureTask. Access the $201 (178) ScheduledThreadPoolExecutor. Java:
The at Java. Util. Concurrent. ScheduledThreadPoolExecutor $ScheduledFutureTask. Run (ScheduledThreadPoolExecutor. Java: 292)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1145)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 615)
The at Java. Lang. Thread. The run (Thread. Java: 744)

The Exception in the thread "cb - computations - 4" Java. Lang. An IllegalStateException: Fatal Exception thrown on the Scheduler. The Worker thread.
The at rx. Internal. Schedulers. ScheduledAction. Run (ScheduledAction. Java: 62)
The at Java. Util. Concurrent. Executors $RunnableAdapter. Call (471) Executors. Java:
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 262)
The at Java. Util. Concurrent. ScheduledThreadPoolExecutor $ScheduledFutureTask. Access the $201 (178) ScheduledThreadPoolExecutor. Java:
The at Java. Util. Concurrent. ScheduledThreadPoolExecutor $ScheduledFutureTask. Run (ScheduledThreadPoolExecutor. Java: 292)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1145)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 615)
The at Java. Lang. Thread. The run (Thread. Java: 744)
Under Caused by: Java. Lang. NoClassDefFoundError: com/couchbase/client/core/config/refresher/CarrierRefresher $6
At com. Couchbase. Client. Core. Config. Refresher. CarrierRefresher. Refresh (CarrierRefresher. Java: 171)
At com. Couchbase. Client. Core. Config. DefaultConfigurationProvider. SignalOutdated (DefaultConfigurationProvider. Java: 356)
At com. Couchbase. Client. Core. Config. Refresher. CarrierRefresher $1. Call (83) CarrierRefresher. Java:
At com. Couchbase. Client. Core. Config. Refresher. CarrierRefresher $1. Call (80) CarrierRefresher. Java:
The at rx. $27 observables. OnNext (observables. Java: 8002)
The at rx. Observers. SafeSubscriber. OnNext (SafeSubscriber. Java: 139)
The at rx. Internal. Operators. OnSubscribeTimerPeriodically $1. The call (OnSubscribeTimerPeriodically. Java: 52)
The at rx. The Scheduler $Worker $1. Call (120) Scheduler. Java:
The at rx. Internal. Schedulers. ScheduledAction. Run (55) ScheduledAction. Java:
. 7 more
Under Caused by: Java. Lang. ClassNotFoundException: com. Couchbase. Client. Core. The config. Refresher. CarrierRefresher $6
The at org. Apache. Catalina. Loader. WebappClassLoader. LoadClass (WebappClassLoader. Java: 1714)
The at org. Apache. Catalina. Loader. WebappClassLoader. LoadClass (WebappClassLoader. Java: 1559)
. 16 more
The exception is the lack of CarrierRefresher this class, but on the WEB - include the class under the INF/lib jar package

CodePudding user response:

The preferred after ruled out the incorrect spelling and path...
You want to make sure that your program calls really is the lib directory of the jar? Search whether have other versions of the core - IO *. Jar in your tomcat directory, such as the war file...

CodePudding user response:

The original poster is the local run ok, Linux can't start to package, I met this situation is the time when the start-up phase to find the jar package less a root directory, directly find/usr/local/tomcat webapps/WEB - INF/lib this path to the front of no/number has been an error
  • Related