Metrics
0
Watch 2.8K Star 5.7K Fork 2.8K

ThinkGem / JeeSite 4.xJavaAGPL-3.0

Jeesite部署时, 报错Failed to read candidate component class

Open
SunHui  Created at

该问题是怎么引起的?

之前用的是JeesiteV4.0.4,全部正常。升级V.4.0.6后,IDEA中正常运行。但打成war后,Tomcat启动不了。JDK 1.8 Tomcat 8.5

重现步骤

在IDEA中,测试运行完全都OK。但是打完war,用TOMCAT运行的时候报错Failed to read candidate component class
无法正常启动过了。

报错信息

  • Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\apache-tomcat-8.5.42\webapps\TECLEAD\WEB-INF\classes\com\jeesite\modules\invoice\entity\InvoiceMaindetails.class]; nested exception is java.lang.NoSuchMethodError: org.hyperic.sigar.NfsServerV2.h(Ljava/lang/Object;)Ljava/lang/String;
2035558_sunnic1988 total 1 participants

Comments (0)

Sign in and comment

Assignee
Labels
Not set
Project
Milestone
Branch
Scheduled start
Not set
Scheduled end
Not set
Top level
Priority

Help Search

183227_9af5e6a8_1826025 111910_4d91f001_1826025