NutzCN Logo
问答 启动项目报错,感觉不是类找不到的问题,根本没有用这个类的地方,但是又看不出来哪里的问题?
发布于 9天前 作者 qq_bcf98d91 52 次浏览 复制 上一个帖子 下一个帖子
标签:

-----------------------------------------------------

------------------------Cache缓存加载成功---------------------
Quartz Initializer Servlet loaded, initializing Scheduler...
Scheduler has been started...
Storing the Quartz Scheduler Factory in the servlet context at key: org.quartz.i
mpl.StdSchedulerFactory.KEY
ERROR 09:16:34 NutLoading.load(125)-->Error happend during start serivce!
org.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.annotatio
n.AnnotationIocLoader'
by args: [
@(com.wonders)] because:
java.lang.NoClassDefFoundError: Lcom/wonders/ghqfg/service/CertService;
at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorB
orning.java:21)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:990)
at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoad
er.java:126)
at org.nutz.ioc.loader.combo.ComboIocLoader.(ComboIocLoader.java:9
2)
at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.ja
va:20)
at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:384)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:103)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterMa
nager.java:343)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
120)
at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java
:96)
at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.
java:57)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
pServletContext.java:1872)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletCon
text.java:3154)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.jav
a:1518)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
teDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
eDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedMod
uleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(Module
ListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
teDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
eDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartMod
ulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.ja
va:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.
java:212)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleM
oduleDeployment.java:44)
at weblogic.application.internal.DeploymentStateChecker.activate(Deploym
entStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(Ap
pContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicD
eployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromSer
verLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(De
ploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(Deploy
mentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(App
Transition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionA
pps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(Co
nfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(Conf
iguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(De
ploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(Dep
loymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.NoClassDefFoundError: Lcom/wonders/ghqfg/service/CertServic
e;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at org.nutz.lang.Mirror._getFields(Mirror.java:544)
at org.nutz.lang.Mirror.getFields(Mirror.java:522)
at org.nutz.lang.Mirror.getFields(Mirror.java:508)
at org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(Annotatio
nIocLoader.java:127)
at org.nutz.ioc.loader.annotation.AnnotationIocLoader.(AnnotationI
ocLoader.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

orAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorB
orning.java:19)
... 47 more
Caused by: java.lang.ClassNotFoundException: com.wonders.ghqfg.service.CertServi
ce
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
areClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:179)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
areClassLoader.java:43)
... 60 more
<2021-10-12 上午09时16分34秒 CST> <Could not load us
er defined filter in web.xml: org.nutz.mvc.NutFilter.
org.nutz.mvc.LoadingException: org.nutz.lang.born.BorningException: Fail to born
'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
by args: [
@(com.wonders)] because:
java.lang.NoClassDefFoundError: Lcom/wonders/ghqfg/service/CertService;
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

orAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17
)
Truncated. see log file for complete stacktrace
Caused By: org.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loade
r.annotation.AnnotationIocLoader'
by args: [
@(com.wonders)] because:
java.lang.NoClassDefFoundError: Lcom/wonders/ghqfg/service/CertService;
at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorB
orning.java:21)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:990)
at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoad
er.java:126)
at org.nutz.ioc.loader.combo.ComboIocLoader.(ComboIocLoader.java:9
2)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: Lcom/wonders/ghqfg/service/CertServic
e;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at org.nutz.lang.Mirror._getFields(Mirror.java:544)
at org.nutz.lang.Mirror.getFields(Mirror.java:522)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: com.wonders.ghqfg.service.CertServi
ce
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
areClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Truncated. see log file for complete stacktrace

```

3 回复

那是你自己定义的类?

类确实是我自己的类,但是我另一个项目的,根本在这个项目里面找不到,难道真的就是我在里面那个类中有用到嘛

为什么不显示在哪个类中报错的呢

添加回复
请先登陆
回到顶部