关于加载第三方jar包的问题

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

关于加载第三方jar包的问题

HerzS
Script Resources里面显示已经加载spring-context-4.1.9.RELEASE.jar,但是运行之后报错如下:

net.grinder.scriptengine.jython.JythonScriptExecutionException: Java exception initialising test script
        from org.springframework.context import ApplicationContext
        File "C:\Users\Administrator\.ngrinder_agent\file-store\admin\current\test.py", line 10, in <module>
java.lang.NoClassDefFoundError: org/springframework/core/env/EnvironmentCapable
        at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.7.0_80

请问如何解决?
Reply | Threaded
Open this post in threaded view
|

Re: 关于加载第三方jar包的问题

oychw
你加载了spring-core没有?