java.lang.NoClassDefFoundError: Could not initialize class com.jacob.com.ComThread
java.lang.NoClassDefFoundError: Could not initialize class com.jacob.com.ComThread
經排查,需要操作系如下:
1、把下載的JAR裡面的jacob.dll拷貝至%JAVA_HOME%\jre\bin目錄所致。
2、C:\Windows\System32目錄頁要拷貝一份jacob.dll
重啟服務,OK。
當不知道版本的時候,可以通過jar下面的\META-INF\JacobVersion.properties
#Sat, 03 Aug 2013 06:30:22 -0400
version=1.17
build.iteration=01
build.date=03-August-2013 06\:30\:22
以上的是version是1.7
注意,需要下載相應的版本,不然還是無法使用的,
附錄:
個版本Jacob下載地址
下載Jacob: https://sourceforge.net/projects/jacob-project/files/jacob-project/
相關推薦
java.lang.NoClassDefFoundError: Could not initialize class com.jacob.com.ComThread
我用的是Jacob-1.14.1.jar,作業系統是64位,執行開啟本地Excel檔案時報錯, java.lang.NoClassDefFoundError: Could not initialize class com.jacob.com.ComThread 經排查,需要操作系如下:
java.lang.NoClassDefFoundError: Could not initialize class com.fasterxml.jackson.databind.ObjectMapp
springboot2.X整合mybatis plus3.X坑系列 解決辦法:引入以下依賴 <!-- 解決構建失敗問題 --> <depen
spring boot中使用jackson出現java.lang.NoClassDefFoundError: Could not initialize class com.fasterxml.jack
Jackson Dependency Issue in Spring Boot with Maven Build In this article, a Spring Boot 1.3.3 dependency issue is explored and an override is provid
spring boot 集成axis1.4 java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis.client.AxisClient
could not cli PC com 定義 logging axis found 調用 pom配置: <dependencies> <dependency> <groupId>org.springframewor
java.lang.NoClassDefFoundError: Could not initialize class utils.MyBatisUtil at test.UserMapperTest
java.lang.NoClassDefFoundError: Could not initialize class utils.MyBatisUtil at test.UserMapperTest.test(UserMapperTest.java:30) at sun.reflec
java.lang.NoClassDefFoundError: Could not initialize class xxx 原因
一、問題及原因 程式裡有個工具類,主要是呼叫它的靜態方法來發送mq。 呼叫場景如下: 結果這兩天報了個錯: java.lang.NoClassDefFoundError: Could not initialize class com.ceiec.rabbitmqservice.ut
Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
在驗證碼的顯示問題出現如下錯誤: Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment 修改
java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.el.ELContextImpl
需要在家裡把一個小web專案收尾,但家裡的電腦沒有intellij,需要在命令列手動編譯,嫌在命令列輸入classpath麻煩,所以直接把servlet-api.jar和jsp-api.jar放到了%J
java.lang.NoClassDefFoundError: Could not initialize class
今天線上環境發現storm任務日誌裡有如下異常: java.lang.NoClassDefFoundError: Could not initialize class... 某依賴工程X一個工具類方法, 堆疊資訊裡找到某dubbo服務A的某方法具體某行丟擲的,檢視服務A的日誌,也有該異常資訊。 在服務A的工
java.lang.NoClassDefFoundError: Could not initialize class org.springframework.beans.factory.BeanCre
錯誤描述: Exception in thread “main” java.lang.NoClassDefFoundError: Could not initialize class org.springframework.beans.factory.BeanCreationExce
關於java.lang.NoClassDefFoundError處理(我遇到的坑could not initialize class xmlreaders)
此文章只針對將專案釋出到tomcat下 執行時遇到的問題(其他問題可能不管用) NoClassDefFoundError和ClassNotFoundException區別 我們經常被java.lang.ClassNotFoundException和java.lang
Sqoop: java.lang.RuntimeException: Could not load db driver class: com.mysql.jdbc.Driver
錯誤一、 Got exception running Sqoop: java.lang.RuntimeException: Could not load db driver class: com.mysql.jdbc.Driver 解決方法: 1、將mysql的驅動包拷貝到
關於jmeter命令行執行.jmx文件出現Error in NonGUIDriver java.lang.RuntimeException: Could not find the TestPlan class的問題
使用 lang exception ava 出現 問題 drive test bug jmeter命令行執行.jmx文件時,有時回出現Error in NonGUIDriver java.lang.RuntimeException: Could not find the T
異常:NoClassDefFoundError或Could not initialize class
相符載入到伺服器的時候不能執行出現,使用第三方的包出現NoClassDefFoundError或Could not initialize class 原因:可能是編譯的時候沒問題,但是class執行
Could not initialize class utils.JdbcUtils
not in 準備 運行 解決 jdbcutil class jdbc ould sql 今天用JdbcUtils時出現了一個問題,被困擾了一晚上。從網上找的原因,說什麽url錯了,版本不一致等等都不能解決我的問題, 我寫好了一個JdbcUtils準備測試,發現從後臺用Da
POI 導出Exicel, 報Could not initialize class sun.awt.X11FontManager錯誤
tin 操作 解決方案 error could .text style arw 結果 stash登錄時提示輸入驗證碼,可是驗證碼不顯示了,怎麽解決了? 報錯信息:java.lang.NoClassDefFoundError: Could not initialize
idea中使用scala運行spark出現Exception in thread "main" java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class
lib apache brush inf under tle 配置 erro cal idea中使用scala運行spark出現: Exception in thread "main" java.lang.NoClassDefFoundError: scala/co
Could not initialize class org.apache.xpath...
IDEA Maven Tomcat 啟動問題 ■現象Eclipse / IDEA Tomcat無法啟動 [2018/04/26 14:42:24.893][RMI TCP Connection(3)-127.0.0.1] WARN o.s.b.f.s.DefaultListableBeanF
【原】Could not initialize class org.apache.log4j.Log4jLoggerFactory
考題 ted log clas .com alt 代碼 light nbsp 現象:正常運行的項目,從Jenkins遷到容器雲上不能正常啟動,報錯誤如下: Caused by: java.lang.NoClassDefFoundError: Could not ini
java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class
在SparkStreaming中使用KafkaUtils時報的錯。網上都說是scala版本與spark版本的問題。 我使用的是spark2.2.0,scala是2.11,KafkaUtils是spark-streaming-kafka-0-8_2.11.jar包裡的,這幾個版本都是根據官