Git Product home page Git Product logo

jimu-convertpreview's Issues

最新版本打包后,window服务器java -jar启动,接口调用时报错

服务器版本win7
接口地址:http://ip:8081/api/convert
接口参数:
{
"inputType": "path",
"inputFile": "D:/cvtest/001.docx",
"outPutFileName": "001-online",
"outPutFileType": "ofd",
"writeBackType": "path",
"writeBack": {
"path": "D:/cvtest/"
}
}

日志报错:
java.lang.NoClassDefFoundError: Could not initialize class com.jacob.com.ComThread
at com.thinkdifferent.convertpreview.utils.LocalConvertUtil.doc2PDF(LocalConvertUtil.java:287) ~[classes!/:0.7.0]
at com.thinkdifferent.convertpreview.utils.LocalConvertUtil.process(LocalConvertUtil.java:52) ~[classes!/:0.7.0]
at com.thinkdifferent.convertpreview.utils.ConvertUtil.convertOffice2Pdf(ConvertUtil.java:539) ~[classes!/:0.7.0]
at com.thinkdifferent.convertpreview.service.impl.ConvertServiceImpl.parseInputFile(ConvertServiceImpl.java:319) ~[classes!/:0.7.0]
at com.thinkdifferent.convertpreview.service.impl.ConvertServiceImpl.mergerInputFile(ConvertServiceImpl.java:222) ~[classes!/:0.7.0]
at com.thinkdifferent.convertpreview.service.impl.ConvertServiceImpl.convert(ConvertServiceImpl.java:123) ~[classes!/:0.7.0]
at com.thinkdifferent.convertpreview.service.impl.ConvertServiceImpl.asyncConvert(ConvertServiceImpl.java:90) ~[classes!/:0.7.0]
at com.thinkdifferent.convertpreview.service.impl.ConvertServiceImpl$$FastClassBySpringCGLIB$$2d36a398.invoke() ~[classes!/:0.7.0]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.13.jar!/:5.3.13]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783) ~[spring-aop-5.3.13.jar!/:5.3.13]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.13.jar!/:5.3.13]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) ~[spring-aop-5.3.13.jar!/:5.3.13]
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) ~[spring-aop-5.3.13.jar!/:5.3.13]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_144]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_144]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.