FineReport的jetty的jar包导入后报ant的异常

嵌入式开发,把jetty包导入工程后报ant的异常,jetty里面的哪个包用到了ant的方法么?可不可以不用那个调用ant方法的jetty包呢?希望有熟悉的朋友帮忙看看。下面是异常信息。
<> Servlet.service() for servlet [jsp] in context with path [/com.grandison.grirms.config.web] threw exception [org.eclipse.virgo.kernel.osgi.framework.ExtendedNoClassDefFoundError: org/apache/tools/ant/launch/AntMain in KernelBundleClassLoader: [bundle=com.springsource.org.apache.tools.ant_1.7.0] in KernelBundleClassLoader: [bundle=com.springsource.org.apache.tools.ant_1.7.0]] with root cause java.lang.ClassNotFoundException: org.apache.tools.ant.launch.AntMain
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
        at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:134)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
        at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.defineClass(KernelBundleClassLoader.java:238)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:601)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:567)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:490)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:478)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:458)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
        at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:134)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at org.apache.tools.ant.Project.initProperties(Project.java:308)
        at org.apache.tools.ant.Project.init(Project.java:295)
        at org.apache.jasper.compiler.Compiler.getProject(Compiler.java:116)
        at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:320)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
        at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:414)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
        at org.eclipse.virgo.web.tomcat.support.ApplicationNameTrackingValve.invoke(ApplicationNameTrackingValve.java:33)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)



FineReportquiet3008559 发布于 2014-7-3 09:43
悬赏:0 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共6回答
最佳回答
0
阿迪发布于2014-7-3 13:27(编辑于 2023-9-6 09:34)
555
最佳回答
0
SubSpring发布于2014-7-3 13:33(编辑于 2023-9-6 09:34)
555
最佳回答
0
街头式灬幻想发布于2014-7-3 13:52(编辑于 2023-9-6 09:34)
555
  • quiet3008559 quiet3008559(提问者)

    不能删,不加jetty包的话没有办法设定远程服务器,之前那个链接的流程我都做过了,没有问题,就是不能设定远程服务器。还是很感谢你的帮助。
    回复
    2014-07-03 13:57 
最佳回答
0
quiet3008559发布于2014-7-3 13:57(编辑于 2023-9-6 09:34)
555
  • 街头式灬幻想 街头式灬幻想

    如果,弄好了,请贴一下方法吧!
    回复
    2014-07-03 16:10 
最佳回答
0
街头式灬幻想发布于2014-7-3 16:10(编辑于 2023-9-6 09:34)
555
  • quiet3008559 quiet3008559(提问者)

    加进工程还是不行,最后新建了一个工程,专门启动fineReport
    回复
    2014-07-21 09:41 
最佳回答
0
quiet3008559发布于2014-7-21 09:41(编辑于 2023-9-6 09:34)
555
  • 0关注人数
  • 1565浏览人数
  • 最后回答于:2014-7-21 09:41
    活动推荐 更多
    热门课程 更多
    返回顶部