English 中文(简体)
如果没有发现按错误类别分列的图书馆,那么在网络项目中有何检查?
原标题:What to check in web project if library exists by error class not found?

I have java web application, that uses hibernate core 3.6.7, I have check that in WEB-INF/lib exists hibernate-core-3.6.7.Final.jar,

但当我提出申请时(左侧)。 我收到错误:

Exception in thread "Thread-4" java.lang.NoClassDefFoundError: org/hibernate/hql/ast/tree/LiteralNode
at org.hibernate.hql.ast.SqlASTFactory.getASTNodeType(SqlASTFactory.java:154)

I have checked that inside of hibernate-core-3.6.7.Final.jar file exists class org.hibernate.hql.ast.tree.LiteralNode. What next need to check? Thanks.

问题回答

检查一下,在WEB-INF/lib中,你还具备了所有必要的独立性。 见http://docs.jbos.org/hibernate/core/3.6/quickstart/en-US/html_single/#hibernate-gsg-setup-releaseBundle rel=“nofollow”http://docs.jboss.org/hibernate/core/3.6/quickstart/en-US/html。

此外,读到其余部分,这应当表明,由于某个类别本身没有发现,因此没有发现LiteralNode。





相关问题
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 ...

热门标签