jboss-4.0.2+jdk1.5.0_12+jiva3.5启动时报错

08-12-13 yuanhotel

我在jboss-4.0.2上部署jiva3.5,java环境是jdk1.5.0_12

然后启动的时候就报下面的错误:

Caused by: java.lang.NoClassDefFoundError: com/jdon/model/ModelForm

我看了一下:在jboss的目录:\server\default\lib\jdonFramework.jar这个包中有这个类

报错信息比较长,

6:18:37,031 ERROR [Digester] Begin event threw exception

ava.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

ava:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

orImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property

tils.java:1789)

at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property

tils.java:1684)

at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.

ava:1713)

at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101

)

at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)

at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule

java:259)

at org.apache.commons.digester.Rule.begin(Rule.java:200)

at org.apache.commons.digester.Digester.startElement(Digester.java:1273)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour

e)

at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn

wn Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Sourc

)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn

wn Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent

ispatcher.dispatch(Unknown Source)

banq
2008-12-15 21:22

下载本站提供的Jboss4.0环境和你对比一下。

taishanglaojun
2008-12-20 19:51

可怜的孩子 没人理你

exception 初步看来不想是JF的exception

jboss-4.0.2 是会出现很多奇怪的问题 好多都没发解释 更没时间去究其原因和代码

推荐你 jboss官方 jboss-4.2.3.GA版

感觉jboss-4.0.2 比 jboss-4.2.3.GA差远了

不好意思没看清楚

Caused by: java.lang.NoClassDefFoundError: com/jdon/model/ModelForm

错误很清楚 还需要什么答案

[该贴被taishanglaojun于2008-12-20 20:00修改过]