English 中文(简体)
班轮
原标题:Classloader problems Tomcat 6 javagent

我正在使用救生自食注射图书馆,该图书馆将网络应用的按字母顺序编号。 我在Tomcat RV备选办法中具体指明了——javaagent,并向萨尔维特代理人杰尔指出了这一点。

代理人 jar已装满,但随后扔下了 j。 无法找到位于WEB-INF/lib网站链接器的其他救生室。

我可以通过把这些联合倡议放在Tomcat/endorsed的夹中来解决这一问题。 然而,其中一些支柱依赖于第三方图书馆,例如春季和服务器。 因此,我被迫将所有这些附属地安放在Tomcat/endorsed。

没有人会建议如何更好地处理托马托卡霍瓦剂的附属物?

感谢。

最佳回答

萨尔维图书馆由几个联合举措组成。 其中一部分依靠第三方图书馆,例如春天。 我最后把这些联合评估报告从编目/编成我的网络应用程序WEB-INF/lib。 http://groups.google.com/group/salve-disc/browse_thread/thread/2c70e1b24c277246“rel=“nofollow”>。

问题回答

这一点令人非常不安。 代理人通常不依赖其他班级,因为这会使他们完全无用。 我认为你误解了错误。 依赖性是否可能来自工具类别,错班级正在停止使用工具?

拯救吗? WTF? Use AspectJ.

“取决于春天的注射框架” - o_O?





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签