eclipse打开时出错,求大神帮忙看下

图片说明

下边是.ini配置文件

-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
-product
org.eclipse.epp.package.java.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
--add-modules=ALL-SYSTEM

下边是.log文件

!SESSION 2018-12-09 19:31:00.206 -----------------------------------------------
eclipse.buildId=4.7.0.I20170612-0950
java.version=11.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.osgi 4 0 2018-12-09 19:31:50.666
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:491)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:505)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
... 22 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 24 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-12-09 19:31:50.717
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:450)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:178)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:99)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:141)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStop(Module.java:634)
at org.eclipse.osgi.container.Module.stop(Module.java:498)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 21 more
!SESSION 2018-12-09 19:32:32.699 -----------------------------------------------
eclipse.buildId=4.7.0.I20170612-0950
java.version=11.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.osgi 4 0 2018-12-09 19:32:36.733
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:491)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:505)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
... 22 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 24 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-12-09 19:32:36.743
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:450)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:178)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:99)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:141)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStop(Module.java:634)
at org.eclipse.osgi.container.Module.stop(Module.java:498)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 21 more
!SESSION 2018-12-09 19:55:55.830 -----------------------------------------------
eclipse.buildId=4.7.0.I20170612-0950
java.version=11.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.osgi 4 0 2018-12-09 19:56:00.328
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:491)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:505)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
... 22 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 24 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-12-09 19:56:00.346
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:450)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:178)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:99)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:141)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStop(Module.java:634)
at org.eclipse.osgi.container.Module.stop(Module.java:498)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 21 more
!SESSION 2018-12-09 19:57:58.765 -----------------------------------------------
eclipse.buildId=4.7.0.I20170612-0950
java.version=11.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.osgi 4 0 2018-12-09 19:58:03.122
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:491)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:505)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
... 22 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 24 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-12-09 19:58:03.145
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:450)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:178)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:99)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:141)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStop(Module.java:634)
at org.eclipse.osgi.container.Module.stop(Module.java:498)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 21 more
!SESSION 2018-12-09 20:03:18.794 -----------------------------------------------
eclipse.buildId=4.7.0.I20170612-0950
java.version=11.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.osgi 4 0 2018-12-09 20:03:23.041
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:491)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:505)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
... 22 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 24 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-12-09 20:03:23.049
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:450)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:178)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:99)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:141)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStop(Module.java:634)
at org.eclipse.osgi.container.Module.stop(Module.java:498)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 21 more

2个回答

删除工作空间下的 .metadata 试下

像是这个:https://www.cnblogs.com/sunshine813/p/6848363.html
另外,打不开就算了,重装一个eclipse也就分分钟的事情

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
android+rxjava+gson 出错,大神帮忙看下。
本人新手刚自学java和安卓,现在自己摸索 SYBASE数据库+JAX-RS 和 android + retrofit + rxjava + gson : 现在总是在POST抛出异常,用CURL测试都是成功更新数据库,证明服务器端没有问题。rn08-10 12:25:36.737 2385-2500/wm.wmb E/AndroidRuntime: FATAL EXCEPTION: RxCachedThreadScheduler-1rn java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.rn at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:62)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)rn at java.util.concurrent.FutureTask.run(FutureTask.java:137)rn at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:150)rn at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:264)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)rn at java.lang.Thread.run(Thread.java:856)rn Caused by: java.lang.StackOverflowErrorrn at java.nio.charset.CharsetEncoderICU.getArray(CharsetEncoderICU.java:228)rn at java.nio.charset.CharsetEncoderICU.encodeLoop(CharsetEncoderICU.java:169)rn at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:415)rn at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:178)rn at java.io.OutputStreamWriter.write(OutputStreamWriter.java:324)rn at java.io.Writer.write(Writer.java:141)rn at com.google.gson.stream.JsonWriter.string(JsonWriter.java:551)rn at com.google.gson.stream.JsonWriter.writeDeferredName(JsonWriter.java:402)rn at com.google.gson.stream.JsonWriter.beginObject(JsonWriter.java:307)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:235)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactoryrnrnrnAndroid测试页面按钮代码如下(GET可以正常运行)rn Entity ls_ent=new Entity();rn ls_ent.setchnname("测试公式");rn ls_ent.setengname("tstddd");rn Gson jsonObject =new Gson();rn jsonObject.toJson(ls_ent);rn Retrofit retrofit = new Retrofit.Builder()rn .baseUrl("http://192.168.1.3:8080/wm1/rest/")rn .addConverterFactory(GsonConverterFactory.create())rn .addCallAdapterFactory(RxJavaCallAdapterFactory.create())rn .build();rn ApiService apiService = retrofit.create(ApiService.class);rn apiService.setEnInfo(jsonObject)rn .subscribeOn(Schedulers.io())rn .observeOn(AndroidSchedulers.mainThread()) rn .subscribe(new Subscriber() //32rn @Overridern public void onCompleted() rn mProgressBar.setVisibility(View.GONE);rn // mtv1.setText("OK");rnrn rnrn @Overridern public void onError(Throwable e) rn mProgressBar.setVisibility(View.GONE);rn mTvContent.setText(e.getMessage());rn mtv1.setText("NO");rnrn rnrn @Overridern public void onNext(ExResult getEnInfoResponse) rn if (getEnInfoResponse.getresult() == "Y") rn mTvContent.setText("修改公司名称成功");rn else rn mTvContent.setText("修改公司名称失败");rn rn rn ); //32rnrn///////////////////////////////////APIrnpackage wm.wmb;rnrnimport com.google.gson.Gson;rnrnimport java.util.List;rnrnimport retrofit.Call;rnimport retrofit.http.Body;rnimport retrofit.http.GET;rnimport retrofit.http.POST;rnimport retrofit.http.Query;rnimport rx.Observable;rnimport wm.wmb.model.Entity;rnimport wm.wmb.model.ExResult;rnimport wm.wmb.response.GetEnInfoResponse;rnimport wm.wmb.response.GetIpInfoResponse;rnrn/**rn * @Project retrofitrxandroiddagger2rn * @Packate com.micky.retrofitrxandroiddagger2.data.apirn * @Descriptionrn * @Author Micky Liurn * @Email mickyliu@126.comrn * @Date 2015-12-21 17:22rn * @Version 0.1rn */rnpublic interface ApiService rn /* @GET("service/getIpInfo.php")rn Call getIpInfo(@Query("ip") String ip);*/rnrn @GET("service/getIpInfo.php")rn Observable getIpInfo(@Query("ip") String ip);rn @GET("Entity/NameList")rn Observable> getEnInfo();rn @POST("Entity/Nameset")rn Observable setEnInfo(@Body Gson jsonObject);rnrnrnrn
eclipse打开时报错:
eclipse打开时报错: Couldnot launch the product because the specified workspace cannot becreated. The specified workspace directory is either invalid orread-only. 直奔主题吧! 今天想写Java的时候发现突然打不开了,于是我上网查了一下,便搜索到了...
eclipse打开时报错
把C:\Program Files\Java\jdk1.8.0_161\bin复制到eclipse.ini文件的-vm下
vb打开时出错
错误提示:rn"0x6a28fd59"指令引用的"0x00000000"内存。该内存不能为“read”rn
求大神帮忙看下存储过程
[code=sql]CREATE PROCEDURE [dbo].[G1_GetRecruitListByAllItems]rn -- Add the parameters for the stored procedure herern (rn@Dept varchar(50),rn@Statues int,rn@StartTime datetime,rn@EndTime datetimern)rn rnASrnBEGINrn rn SET NOCOUNT ON;rn declare @sql varchar(1000)rn set @sql = 'rn SELECT re.Id,rn de.DepartmentName,rn re.CreateTime,rn us.UserName,rn re.Satern FROM rn G1_Recruit as re JOIN G1_Department as de ON re.DeptId=de.DepartmentIdrn LEFT JOIN G1_User as us ON re.CreateUserId=us.UserId where 1=1 rnrn 'rn rn if(@Dept !='==请选择==')rn BEGINrn --print '到达Dept判断 'rn SET @sql = @sql + ' and de.DepartmentName = ''' + @Dept + ''''rn ENDrnrn if(@Statues !=4)rn BEGINrn --print '到达Statues判断'rn SET @sql = @sql + ' and re.Sate =' + cast(@Statues as varchar(2))rn --print '状态判断完成'rn ENDrn rn if(@StartTime!=null)rn BEGINrn --print '到达时间判断'rn SET @sql = @sql + ' and re.CreateTime >= ''' +@StartTime+''''rn --print '时间判断完成'rn ENDrnrn if(@EndTime!=null)rn BEGINrn --print '到达时间判断'rn SET @sql = @sql +' and re.CreateTime <='''+@EndTime +''''rn --print '时间判断完成'rn ENDrnrn SET @sql = @sql + ' ORDER By re.CreateTime DESC'rnrn PRINT @sqlrn EXEC (@sql)rn rnEND[/code]rn[img=https://img-bbs.csdn.net/upload/201611/29/1480410563_632951.png][/img]rn为什么输了时间还是没进行比较
eclipse打开时突然闪退
昨天还可以用的,环境变量也都配好了,中途也没有改什么文件,今天早上开机点击eclipse图标时就闪一下,然后n就没有了下文了n
VC打开时出错。求助
我在运行vc后 ,点击菜单的“打开”(不是”打开工程“),然后程序就会报rnrn一个异常,”0x5003eaed"指令引用的“0x0000000"内存。该内存不能为”rnrnread"rnrn我点击“取消”进入vc环境下调试的时候,看见汇编代码如下:rn5003EAED repe cmps dword ptr [esi],dword ptr [edi]rn5003EAEF je 5003EAABrn5003EAF1 mov edi,dword ptr [edx+8]rn5003EAF4 push 4rn5003EAF6 pop ecxrn5003EAF7 lea esi,[ebp-5Ch]rn5003EAFA xor eax,eaxrn5003EAFC repe cmps dword ptr [esi],dword ptr [edi]rn5003EAFE je 5003EAB9rn5003EB00 jmp 5003EAABrn5003EB02 cmp dword ptr [edx],edirn5003EB04 je 5003EA8Crn5003EB06 cmp dword ptr [esi+8],edirn5003EB09 mov dword ptr [ebp-10h],edirn5003EB0C jle 5003EB46rnrn。。。。。。。。。。。。rn(rn然后我按F5跑下去的时候,vc报一个错误:rn“Unhandled execption in msdev.exe(devshl.dll):0xce0005:Access rnrnviolation"rn再就跑不下去了。rnrn每次都有这个问题,但新建工程,打开工程等其他的操作都没有,也可以编译rnrn工程。我重装了好几次了 ,都还是老毛病,算是没辙了。请那位高手知道下,rnrn救命了
HELP!! vs2010 打开时出错!
[img=http://C:\Users\asus\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml][/img]rnrn另外 当我新建一个win32控制台应用程序 勾了预编译头,在源文件夹、头文件夹、资源文件夹中都没有相应的文件。rn 而且当我创建完成后,又自动弹出了创建项目的窗口。
求助:VC打开时出错
我在XP上装visual studio 6.0,在打开时(不是打开工程,是点击菜单File-〉Open)出错,显示studio遇到问题,需要关闭,错误签名是rnAppName: msdev.exe AppVer: 6.0.8168.2 ModName: devshl.dllrnModVer: 6.0.8168.0 Offset: 0003eaedrnrn其他都正常,双击一个工程或cpp文件能打开。rnrn请问怎么解决?rn我已经重装了好几次了,用的是英文版,比较可靠,别人装了没问题。
C++Build打开时提示出错
碰到奇怪的问题, 有一个C++Build程序:rnA.如果打开*.bpr文件,程序提示报错:cann"t load package c:\program files\borland\cbuilder5\bin\dclstd50.bpl. Access violation at addressrn520744D2 in module 'Coride50.bpl' .Read of address 00000000. rnDo you want to attempt to load this package the next time a project is loaded?rnrnB. 如果先打开C++Build后再打开 *.bpr文件程序不报错。
eclipse运行错误,求大神帮忙。
我用java做了一个聊天工具,运行时没有错误,显示thread start.。但是当我关闭对话框后会显示如下错误。rnThread startrnjava.net.SocketException: Connection resetrn at java.net.SocketInputStream.read(SocketInputStream.java:168)rn at java.net.SocketInputStream.read(SocketInputStream.java:182)rn at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2249)rn at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2542)rn at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552)rn at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)rn at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)rn at mypackage2.ServerThread.run(SocketThreadServer.java:114)rn at java.lang.Thread.run(Thread.java:619)rn[img=https://img-bbs.csdn.net/upload/201412/22/1419256877_324186.png][/img] rn
各位大神帮忙看下
templaternclass Arn…;rnrntemplaternvector*> vec;rnrn这段代码有啥问题?
大神帮忙看下 多谢
我们最近用clocklingIT 感觉保存的时候特别慢,我找到save_log这个方法,想在里面加几个时间戳,看看到底是哪里耗时,请问我用logger记日志可以么 怎么log下当前时间呢?多谢
大神帮忙看下
2012-11-15 14:07:45 org.apache.coyote.http11.Http11Protocol pausern信息: Pausing Coyote HTTP/1.1 on http-80rn2012-11-15 14:07:46 org.apache.catalina.core.StandardService stoprn信息: Stopping service Catalinarn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcrn严重: A web application registered the JBDC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesStopTimerThreadrn严重: A web application appears to have started a TimerThread named [Timer-0] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly cancelled. rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesStopTimerThreadrn严重: A web application appears to have started a TimerThread named [timerFactory] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly cancelled. rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-1] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-2] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-3] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-4] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1c6f0bd]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1e743ad]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@c17ef]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@f90303]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@34bd88]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@874fba]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@183553a]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@15054a3]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:47 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1a24060]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@130770e]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:47 org.apache.coyote.http11.Http11Protocol destroyrn信息: Stopping Coyote HTTP/1.1 on http-80rnrnrnrn
大神帮忙看下。。。
七月 22, 2014 10:47:27 上午 org.apache.catalina.core.AprLifecycleListener initrnINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre7/bin/client;C:/Program Files (x86)/Java/jre7/bin;C:/Program Files (x86)/Java/jre7/lib/i386;F:\app\zhangchaowu\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jdk1.7.0_10\bin;C:\Program Files (x86)\Java\jdk1.7.0_10\jre\bin;;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\;F:\工作\eclipse\eclipse;;.rn七月 22, 2014 10:47:27 上午 org.apache.tomcat.util.digester.SetPropertiesRule beginrnWARNING: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:TellingB2B' did not find a matching property.rn七月 22, 2014 10:47:27 上午 org.apache.coyote.AbstractProtocol initrnINFO: Initializing ProtocolHandler ["http-bio-8080"]rn七月 22, 2014 10:47:27 上午 org.apache.coyote.AbstractProtocol initrnINFO: Initializing ProtocolHandler ["ajp-bio-8009"]rn七月 22, 2014 10:47:27 上午 org.apache.catalina.startup.Catalina loadrnINFO: Initialization processed in 303 msrn七月 22, 2014 10:47:27 上午 org.apache.catalina.core.StandardService startInternalrnINFO: Starting service Catalinarn七月 22, 2014 10:47:27 上午 org.apache.catalina.core.StandardEngine startInternalrnINFO: Starting Servlet Engine: Apache Tomcat/7.0.29rn七月 22, 2014 10:47:33 上午 org.apache.catalina.core.ApplicationContext logrnINFO: No Spring WebApplicationInitializer types detected on classpathrn七月 22, 2014 10:47:33 上午 org.apache.catalina.core.ApplicationContext logrnINFO: Initializing Spring root WebApplicationContextrnlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).rnlog4j:WARN Please initialize the log4j system properly.rnlog4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.rnrn启项目到这个地方就一直不动了,有没有遇到同样情况的?
求助大神帮忙看下!!!
麻烦哪位大神能帮忙看下 下面代码中的$testid是哪里来的,小弟谢谢啦!rnrn rn";rnif (!isset($_SESSION[alogin]))rnrn echo " You are not Logged On Please Login to Access this Page";rn echo " Click Here for Login";rn exit();rnrnecho " Add Question ";rnif($_POST[submit]=='Save' || strlen($_POST['testid'])>0 )rnrnextract($_POST);rnmysql_query("insert into mst_question(test_id,que_desc,ans1,ans2,ans3,ans4,true_ans) values ('$testid','$addque','$ans1','$ans2','$ans3','$ans4','$anstrue')",$cn) or die(mysql_error());rnecho " Question Added Successfully.";rnunset($_POST);rnrn?>rn rn rn rn rn Select Test Name rn rn rn$row[2]";rnrnelsernrnecho "$row[2]";rnrnrn?>rn rn rn rn Enter Question rn rn rn rn rn Enter Answer1 rn rn rn rn rn Enter Answer2 rn rn rn rn rn Enter Answer3 rn rn rn rn rn Enter Answer4rn rn rn rn rn Enter True Answer rn rn rn rn rn rn rn rn rn rnrn rn
我的jboss启动错误,求大神帮忙看下
===============================================================================rnrn JBoss Bootstrap Environmentrnrn JBOSS_HOME: E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GArnrn JAVA: D:\Program Files (x86)\java\jdk1.8.0_25\bin\javarnrn JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=25rn6m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsrnun.rmi.dgc.server.gcInterval=3600000rnrn CLASSPATH: E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\bin\run.jarrnrn===============================================================================rnrnJava HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; suprnport was removed in 8.0rn21:00:47,714 INFO [ServerImpl] Starting JBoss (Microcontainer)...rn21:00:47,715 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVrnNTag=JBoss_5_0_0_GA date=200812042120)rn21:00:47,715 INFO [ServerImpl] Bootstrap URL: nullrn21:00:47,715 INFO [ServerImpl] Home Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jrnboss-5.0.0.GArn21:00:47,716 INFO [ServerImpl] Home URL: file:/E:/J2EE/我的j2ee/jboss-5.0.0.GA-rnjdk6/jboss-5.0.0.GA/rn21:00:47,717 INFO [ServerImpl] Library URL: file:/E:/J2EE/我的j2ee/jboss-5.0.0.rnGA-jdk6/jboss-5.0.0.GA/lib/rn21:00:47,719 INFO [ServerImpl] Patch URL: nullrn21:00:47,720 INFO [ServerImpl] Common Base URL: file:/E:/J2EE/我的j2ee/jboss-5.rn0.0.GA-jdk6/jboss-5.0.0.GA/common/rn21:00:47,721 INFO [ServerImpl] Common Library URL: file:/E:/J2EE/我的j2ee/jbossrn-5.0.0.GA-jdk6/jboss-5.0.0.GA/common/lib/rn21:00:47,721 INFO [ServerImpl] Server Name: defaultrn21:00:47,722 INFO [ServerImpl] Server Base Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\serverrn21:00:47,723 INFO [ServerImpl] Server Base URL: file:/E:/J2EE/我的j2ee/jboss-5.rn0.0.GA-jdk6/jboss-5.0.0.GA/server/rn21:00:47,724 INFO [ServerImpl] Server Config URL: file:/E:/J2EE/我的j2ee/jboss-rn5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/conf/rn21:00:47,724 INFO [ServerImpl] Server Home Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\defaultrn21:00:47,725 INFO [ServerImpl] Server Home URL: file:/E:/J2EE/我的j2ee/jboss-5.rn0.0.GA-jdk6/jboss-5.0.0.GA/server/default/rn21:00:47,726 INFO [ServerImpl] Server Data Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\default\datarn21:00:47,727 INFO [ServerImpl] Server Library URL: file:/E:/J2EE/我的j2ee/jbossrn-5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/lib/rn21:00:47,728 INFO [ServerImpl] Server Log Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GA-rnjdk6\jboss-5.0.0.GA\server\default\logrn21:00:47,729 INFO [ServerImpl] Server Native Dir: E:\J2EE\我的j2ee\jboss-5.0.0.rnGA-jdk6\jboss-5.0.0.GA\server\default\tmp\nativern21:00:47,729 INFO [ServerImpl] Server Temp Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\default\tmprn21:00:47,730 INFO [ServerImpl] Server Temp Deploy Dir: E:\J2EE\我的j2ee\jboss-5rn.0.0.GA-jdk6\jboss-5.0.0.GA\server\default\tmp\deployrn21:00:48,211 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/Jrn2EE/我的j2ee/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/conf/bootstrap.xmrnlrn21:00:48,556 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plrnugins.cache.IterableTimedVFSCache]rn21:00:48,562 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCachelifetrnime=1800, resolution=60]rn21:00:48,764 INFO [CopyMechanism] VFS temp dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\default\tmprn21:00:48,767 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.rnrn21:00:49,521 INFO [ServerInfo] Java version: 1.8.0_25,Oracle Corporationrn21:00:49,521 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 25.25rn-b02,Oracle Corporationrn21:00:49,522 INFO [ServerInfo] OS-System: Windows 8 6.2,amd64rn21:00:49,560 INFO [JMXKernel] Legacy JMX core initializedrn21:00:50,670 ERROR [AbstractKernelController] Error installing to Instantiated:rnname=StandardBindings state=Describedrnjava.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.rernflect.Constructor expected=[int] actual=[java.util.HashSet]rn at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(rnReflectionUtils.java:395)rn at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(RrneflectionUtils.java:153)rn at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.nernwInstance(ReflectConstructorInfoImpl.java:106)rn at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicCrnonstructorJoinPoint.java:80)rn at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.crearnteTarget(AOPConstructorJoinpoint.java:276)rn at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.disprnatch(AOPConstructorJoinpoint.java:97)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoirnnpointDispatchWrapper.execute(KernelControllerContextAction.java:241)rn at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutiornnWrapper.java:47)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.disrnpatchExecutionWrapper(KernelControllerContextAction.java:109)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.disrnpatchJoinPoint(KernelControllerContextAction.java:70)rn at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInrnternal(InstantiateAction.java:66)rn at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installActionrn(InstallsAwareAction.java:54)rn at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installActionrn(InstallsAwareAction.java:42)rn at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simrnpleInstallAction(SimpleControllerContextAction.java:62)rn at org.jboss.dependency.plugins.action.AccessControllerContextAction.insrntall(AccessControllerContextAction.java:71)rn at org.jboss.dependency.plugins.AbstractControllerContextActions.installrn(AbstractControllerContextActions.java:51)rn at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstrarnctControllerContext.java:348)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractContrrnoller.java:1598)rn at org.jboss.dependency.plugins.AbstractController.incrementState(AbstrarnctController.java:934)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstrrnactController.java:1062)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstrrnactController.java:984)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractContrrnoller.java:774)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractContrrnoller.java:540)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeanrn(AbstractKernelDeployer.java:331)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeanrns(AbstractKernelDeployer.java:309)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbsrntractKernelDeployer.java:130)rn at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKrnernelDeployer.java:76)rn at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBarnsicXMLDeployer.java:91)rn at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBarnsicXMLDeployer.java:161)rn at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.javarn:144)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:rn394)rn at org.jboss.Main.boot(Main.java:209)rn at org.jboss.Main$1.run(Main.java:547)rn at java.lang.Thread.run(Thread.java:745)rn21:00:50,913 INFO [ProfileServiceImpl] Loading profile: default from: org.jbossrn.system.server.profileservice.repository.SerializableDeploymentRepository@230fcfrn8f(root=E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server, key=org.jbosrns.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=defarnult])rn21:00:50,919 INFO [ProfileImpl] Using repository:org.jboss.system.server.profilrneservice.repository.SerializableDeploymentRepository@230fcf8f(root=E:\J2EE\我的jrn2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.rnProfileKey@143b82c3[domain=default,server=default,name=default])rn21:00:50,921 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@6a3c533akeyrn=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,rnname=default]rnFailed to boot JBoss:rnjava.lang.IllegalStateException: Incompletely deployed:rnrn*** DEPLOYMENTS IN ERROR: Name -> ErrorrnStandardBindings -> java.lang.IllegalArgumentException: Wrong arguments. new forrn target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet]rnrn*** DEPLOYMENTS MISSING DEPENDENCIES: Name -> DependencyRequired State:Actual SrntaternServiceBindingStore -> StandardBindingsInstalled:**ERROR**rnSystemPropertyBinder#1 -> ServiceBindingManagerInstalled:DescribedrnServiceBindingManager -> ServiceBindingStoreInstalled:InstantiatedrnSystemPropertyBinder -> SystemPropertyBinder#1Installed:Describedrnrn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalVarnlidate(AbstractKernelDeployer.java:290)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(ArnbstractKernelDeployer.java:174)rn at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.javarn:148)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:rn394)rn at org.jboss.Main.boot(Main.java:209)rn at org.jboss.Main$1.run(Main.java:547)rn at java.lang.Thread.run(Thread.java:745)rn21:00:51,314 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: truern21:00:51,320 INFO [ServerImpl] Shutdown completernShutdown completernHalting VMrn请按任意键继续. . .
求大神帮忙看下这个makefile
[code=c]obj-m:=k.orn KERNELBUILD:=/lib/modules/$(shell uname -r)/buildrndefault:rn make -C $(KERNELBUILD) M=$(shell pwd) modulesrnclean:rn make clean all[/code]rnrnrn
求大神们帮忙看下哪里问题。
use school_MSrngorncreate procedure Proclnsertrn(@hao varchar(20),@ke varchar(20),@tai varchar(20))rnasrnbeginrnselect sname,score,cnamernfrom course b join student c join student_course arnon b.cno=a.tcidrnon a.sno=c.snornbeginrnif @hao='B0451101'and @ke=30020108rnupdate student_coursernset @tai=-101rnwhere @hao='B0451101' and @ke=30020108rnprint '该学生已经在该门课程的成绩已经存在';rnelse  rn update student_coursernset @tai=10rnprint '该条记录可以添加'rnendrnendrngo
求Activiti大神帮忙看下是什么问题
严重: Servlet.service() for servlet [cn.itcast.actviti.servlet.processinstance.SignalProcessInstanceServlet] in context with path [/activiti_04] threw exceptionrnorg.activiti.engine.ActivitiException: UserTask should not be signalled before completernrn这是什么错误?rnrnjava 代码:rn //获取流程实例IDrn String id = request.getParameter("id");rn //获取流程定义IDrn String pid = request.getParameter("pid");rn //获取运行服务对象rn RuntimeService runtimeService = pe.getRuntimeService();rn //进行下一步rn runtimeService.signal(id);
求大神帮忙看下这个错误是什么
[code=text]八月 07, 2013 9:50:29 上午 org.apache.catalina.loader.WebappClassLoader loadClassrnINFO: Illegal access: this web application instance has been stopped already. Could not load org.apache.mina.core.session.SessionState. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.rnjava.lang.IllegalStateExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1600)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:194)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:44)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:554)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPollingIoProcessor.java:67)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1132)rn at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnrnException in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: org/apache/mina/core/session/SessionStatern at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:194)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:44)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:554)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPollingIoProcessor.java:67)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1132)rn at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.lang.ClassNotFoundException: org.apache.mina.core.session.SessionStatern at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn ... 9 morern[/code]rn
PHP调用WebService,求大神帮忙看下~
[code=php]rn'1','outCount'=>'10');rn$ret = $client->LatestNews($param);rnif($ret->return)rn print_r($ret->return);rnelsern echo 'no user';rnrn?>rn[/code]rn[img=https://img-bbs.csdn.net/upload/201305/13/1368433230_100007.jpg][/img]rnrn简单的调用Webservice,这是什么错呢?求大神指导~
求大神帮忙看下代码哪有问题
当点击发送时,就卡住不能操作了 是哪的问题啊rn下面是完整版代码。rnrn //定义串口对象rn SerialPort myCom = new SerialPort();rn public static int RX = 0;rn public static int TX = 0;rn //定义动态字符串,用来存储接受的数据rn public StringBuilder RecStr = new StringBuilder(4096);rnrn private void FrmRecAndSend_Load(object sender, EventArgs e)rn rn //初始化comboBox控件rn this.comName.SelectedIndex = 0;rn this.comBaudRate.SelectedIndex = 3;rn this.comByteSize.SelectedIndex = 0;rn this.comParity.SelectedIndex = 0;rn this.comStopBits.SelectedIndex = 0;rn rn //打开或关闭串口rn private void btnOpen_Click(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn myCom.Close();rn //状态栏显示串口名称,以及是否为打开状态rn this.statusCom.Text = "STATUS:" + myCom.PortName + "CLOSED!";rn this.btnOpen.Text = "打开串口";rn rn elsern rn //初始化串口属性rn this.comboBoxChang();rn myCom.Open();rn //状态栏显示串口名称以及是否为打开状态rn this.statusCom.Text = "STATUS:" + myCom.PortName + "OPENED";rn this.btnOpen.Text = "关闭串口";rn this.timerRec.Enabled = true;rn rn rnrn //初始化串口信息rn public void comboBoxChang()rn rn tryrn rn myCom.PortName = this.comName.SelectedItem.ToString();rn myCom.BaudRate = Convert.ToInt16(this.comBaudRate.SelectedItem.ToString());rn myParity();rn myCom.DataBits = Convert.ToInt16(this.comByteSize.SelectedItem.ToString());rn myStopBits();rn rn catch (Exception ex)rn rn MessageBox.Show(ex.ToString());rn rn rn rn //根据选择确认校验位rn public void myParity()rn rn if (this.comParity.SelectedIndex == 0)rn rn myCom.Parity = Parity.None;rn rn elsern rn if (this.comParity.SelectedIndex == 1)rn rn myCom.Parity = Parity.Odd;rn rn elsern rn myCom.Parity = Parity.Even;rn rn rn rnrn //根据选择确定停止位rn public void myStopBits()rn rn int caseSwitch = this.comStopBits.SelectedIndex;rn switch (caseSwitch)rn rn case 1:rn myCom.StopBits = StopBits.OnePointFive;rn break;rn case 2:rn myCom.StopBits = StopBits.Two;rn break;rn default:rn myCom.StopBits = StopBits.One;rn break;rn rn rnrn //发送按钮,发送下面的要发送的数据rn private void btnSend_Click(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn if (this.tBoxSed.Text == "")rn rn MessageBox.Show("发送的数据为空");rn rn tryrn rn myCom.Write(this.tBoxSed.Text);rn TX += this.tBoxSed.Text.Trim().ToString().Length;rn this.tBoxTX.Text = TX.ToString();rn rn catch (Exception ex)rn rn MessageBox.Show("发送数据失败!" + ex);rn rn rn elsern rn MessageBox.Show("请确认串口为打开状态");rn rn rn //关闭窗体则关闭串口rn private void FrmRecAndSend_Closing(object sender, CancelEventArgs e)rn rn myCom.Close();rn rn rn //去掉发送数组中的空格rn private string delSpace(String putin)rn rn string putout = "";rn for (int i = 0; i < putin.Length; i++)rn rn if(putin[i] != ' ')rn rn putout += putin[i];rn rnrn rn return putout;rn rnrn //显示包信息rn public string dis_package(char[] recB)rn rn string tempT = "";rn foreach(char b in recB)rn rn tempT += b.ToString() + "";rn rn return tempT;rn rnrn //自动检测串口是否为打开状态,若为打开状态,自动把接收的数据显示在接收区内rn private void timerRec_Tick(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn tryrn rn int numByte = myCom.BytesToRead;rn if (numByte != 0)rn rn char[] TempByte = new char[2048];rn int numStr = myCom.Read(TempByte, 0, numByte);rn RecStr.Append(TempByte);rn this.tBoxRec.Text = tBoxRec.Text + RecStr.ToString();rn RX += numStr;rn this.tBoxRec.Text = RX.ToString();rn if (this.tBoxRec.Text.Length > 138)rn rn this.tBoxRec.Text = string.Empty;rn rn RecStr.Remove(0, RecStr.Length);rn rn rn catch (Exception ex)rn rn MessageBox.Show(ex.ToString());rn rn rn elsern rn this.timerRec.Enabled = false;rn rn rnrn //根据时间来自动发送数据rn private void timerAutoSend_Tick(object sender, EventArgs e)rn rn tryrn rn myCom.Write(this.tBoxSed.Text);rn TX += this.tBoxSed.Text.Trim().ToString().Length;rn this.tBoxTX.Text = TX.ToString();rn rn catch (Exception ex)rn rn MessageBox.Show("发送失败!" + ex);rn rn rn //检查自动发送的选择按钮是否选中,若选中,则开启自动发送的时间事件rn private void cBoxSendSelf_CheckStateChanged(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn if (this.tBoxSed.Text == "")rn rn MessageBox.Show("发送为空");rn return;rn rn elsern rn if (this.cBoxSendSelf.Checked == true)rn rn this.timerAutoSend.Interval = Convert.ToInt16(this.tTime.Text.Trim().ToString());rn this.timerAutoSend.Enabled = true;rn rn elsern rn this.timerAutoSend.Enabled = false;rn rn rn rn elsern rn MessageBox.Show("请确定串口为打开状态!");rn this.cBoxSendSelf.Checked = false;rn rn rnrn private void btnCountReset_Click(object sender, EventArgs e)rn rn TX = 0;rn RX = 0;rn this.tBoxTX.Text = TX.ToString();rn this.tBoxRX.Text = RX.ToString();rn rn
求大神帮忙看下centos错误日志
[Tue Nov 22 17:58:01.414759 2016] [core:notice] [pid 21450] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0rn[Tue Nov 22 17:58:01.415905 2016] [suexec:notice] [pid 21450] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)rn[Tue Nov 22 17:58:01.433474 2016] [auth_digest:notice] [pid 21450] AH01757: generating secret for digest authentication ...rn[Tue Nov 22 17:58:01.434111 2016] [lbmethod_heartbeat:notice] [pid 21450] AH02282: No slotmem from mod_heartmonitorrn[Tue Nov 22 17:58:01.480933 2016] [mpm_prefork:notice] [pid 21450] AH00163: Apache/2.4.6 (CentOS) PHP/7.0.12 configured -- resuming normal operationsrn[Tue Nov 22 17:58:01.480965 2016] [core:notice] [pid 21450] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'rn[Tue Nov 22 17:58:07.105333 2016] [:error] [pid 21454] [client 10.70.0.242:52352] PHP Fatal error: Uncaught UnexpectedValueException: The stream or file "/var/www/QCLaravel/laravel-master/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied in /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:87\nStack trace:\n#0 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\\Handler\\StreamHandler->write(Array)\n#1 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Logger.php(336): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n#2 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(400, Object(UnexpectedValueException), Array)\n#3 /var/www/QCLaravel/laravel-master/vendor/laravel/framework/src/Illuminate/Log/Writer.php(202): Monolog\\Logger->error(Object(UnexpectedValueException), Array)\n#4 /var/www/QCLaravel/laravel-master/vendor/laravel/framework/src/Illuminate/Log/Writer.php(113): Illumina in /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 87rn[Tue Nov 22 17:58:07.106874 2016] [:error] [pid 21454] [client 10.70.0.242:52352] PHP Fatal error: Uncaught UnexpectedValueException: The stream or file "/var/www/QCLaravel/laravel-master/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied in /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:87\nStack trace:\n#0 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\\Handler\\StreamHandler->write(Array)\n#1 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Logger.php(336): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n#2 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(400, Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException), Array)\n#3 /var/www/QCLaravel/laravel-master/vendor/laravel/framework/src/Illuminate/Log/Writer.php(202): Monolog\\Logger->error(Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException), Array)\n#4 /var/www/QCLaravel/laravel-master/vendor/lara in /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 87rnrn在centos下用php的laravel框架,输出视图就会出现500错误,但是直接echo文字就没有问题...不知道是因为是否没有装哪个扩展库,rngoogle出来的回答都是给权限chmod777也给了,小弟实在解决不了,求大神帮忙
求大神帮忙看下这个控件
http://www.cnblogs.com/nosnowwolf/archive/2008/07/22/1248796.htmlrnrnrn在winform中做了一个分页控件。 根据作者的源码,完成了数据的绑定分页。rnrnrn[code=csharp]rnpageDate.QueryCondition = strsql;rnthis.pager1.bindingSource.DataSource = pageDate.QueryDataTable().Tables[0];rnthis.pager1.bindingNavigator.BindingSource = pager1.bindingSource;rnthis.dgvAlarmFloor.DataSource = this.pager1.bindingSource;rnreturn pageDate.TotalCount;rn[/code]rnrn但是在显示界面,显示的时间只能精确到分, 不能精确到秒。 打断点到从数据库返回的DS表里,时间都是精确到秒的。在数据库运行存储过程,时间是2014-11-12 15:14:53.380精确到这种的。rnrnrnrn求大神帮忙看下。
求大神帮忙看下问题在哪
大一新萌实验周要编程序,求大神们看看出错在哪[img=https://img-bbs.csdn.net/upload/201804/13/1523577954_632017.png][/img]
求大神帮忙看下算法的错误
#include "stdio.h"rn#include "malloc.h"rnint maxzu(int x,int y);rntypedef struct nodern int a;rn struct node *next;rnlinknode,*link;rnlink Creatlist()rnrn int num;rn link H,r,p;rn H=(link)malloc(sizeof(linknode));rn r=H;rn printf("please put the num:");rn scanf("%d",&num);rn while (num!=35)rn rn p=(link)malloc(sizeof(linknode));rn p->a =num;r->next=p;r=p;rn printf("please put num:");rn scanf("%d",&num);rn rn r->next=NULL;rn return H;rnrnlink Adjmax(link H,int k)rnrn link p1,p2,p3;rn p1=H;rn int i=1,max[100],maxfinal,nodefinal;rn int cachevalue[100];rn cachevalue[0]=0;rn max[0]=1;rn for(int j=0;max[j]!=NULL;j++)rn rn p1=p1->next;rn p2=p1; rn for(i;i<=k;i++)rn rn p3=p2;rn cachevalue[0]+=p3->a;rn p2=p3->next;rn rn max[j]=cachevalue[0];rn rn int m;rn for(int f=1,m=max[0],n=0;f<10;f++)rn rn if (maxzu(m,max[f])>m)rn rn m=maxzu(m,max[f]);rn n=f;rn rn rn printf("序号/n值/n",n+1,m);rnrnint maxzu(int x,int y)rnrn return(x>y? x:y);rnrnrnvoid main()rnrn link L;rn L=Creatlist();rn int k;rn printf("please put the k");rn scanf("%d",k);rn Adjmax(H,k);rn
anroid xmpp即时通讯的问题 求大神帮忙看下
本人刚学android不久,现在再做一个xmpp的demo 客户端发送消息时 chat.sendMessage();可以填两种参数 一种是直接发送字符串,一种是发送一个Message 对象  收到消息的监听类如下 public class TaxiChatManagerListener implements ChatManagerListener { private Context mCon
求大神帮忙看下这个题目
小明总共有n天假期,他可以一次休息1天,也可以一次休息2天,问有多少种休假方式rnrnint Holiday_Solution(unsigned int n)rnrn int result[2] = 0,1;rn if(n<2)rn return 1;rn int fibNMinusOne=1;rn int fibNMinusTwo=1;rn int fibN=0;rn for(int i=2; i<=n; i++)rn rn ____?______;rn ____?______;rn ____?______;rn rn return fibN;rnrnrn求大神帮忙填下问号的地方,顺便解释下这段程序。。。
求大神帮忙看下我的if判断
[code=php]rnrn rn rn rn rn rn rn rn 1111rn rn[/code]rn想让这里当if($bank['bankId'] == 2)没有内容时,显示111,该怎么写,我这个判断不对,打印出来是三个111 111 111rn我想只要一个111
数据解析,在线等,求大神帮忙看下
n "action": 0,n "message": "成功",n "Pages": 0,n "Addition": n "TOTAL": "100MB",n "RIGHT": "1",n "USED": "31.07MB"n ,n "resultlist": [],n "datalist": [n n "COLLECT": "0",n "TSF_SIZE": "",n "TSF_PWD": "",n "TYPE": "0",n "URL": "",n "TSF_NAME": "Qweqwe",n "TSF_NO": "26",n "TSF_DATE": "2017/6/30 13:28:45",n "TSF_TYPE": "",n "SDID": "1"n ,n n "COLLECT": "0",n "TSF_SIZE": "",n "TSF_PWD": "123",n "TYPE": "0",n "URL": "",n "TSF_NAME": "113",n "TSF_NO": "20",n "TSF_DATE": "2017/6/26 9:02:13",n "TSF_TYPE": "",n "SDID": "1"n n ]nn我要的要上面Addition里面的数据该怎么解析。求大神帮忙看下。n
求大神帮忙看下CDHtmlDialog的一个问题
我用CDHtmlDialog的Navigate加载了一个html页面,调用insertAdjacentHTML加了点html内容进去.成功显示出了自己想要的东西,但是在点击界面的其它按钮(非html按钮)时,经常会出现下面这种情况rn[img=https://img-bbs.csdn.net/upload/201402/14/1392370956_773155.jpg][/img]rnrn正常情况:rn[img=https://img-bbs.csdn.net/upload/201402/14/1392371047_539393.jpg][/img]
求大神帮忙看下这道题
1. 编程实现在一个9位数的正整数n中插入4个乘号,使分得的5个整数的乘积最大;rnrn2. 输入 nrnrn3. 输出 被分得的5个整数、得到的最大乘积rnrn4. 例如:输入 734019862rn 输出 73*401*9*8*62=130674672rnrn 算法上怎么实现,或者给点思路吧,谢谢!
ssh整合异常,求大神帮忙看下
2015-8-4 14:33:52 org.apache.struts2.dispatcher.Dispatcher errorrn严重: Exception occurred during processing request: nullrnjava.lang.reflect.InvocationTargetExceptionrn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)rn at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)rn at org.apache.struts2.interceptor.DeprecationInterceptor.intercept(DeprecationInterceptor.java:41)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)rn at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:139)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562)rn at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)rn at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:619)rnrnrn
求大神帮忙 eclipse安装spring插件时候出错
[img=https://img-bbs.csdn.net/upload/201607/22/1469185617_901364.png][/img] 求求求 帮忙! 谢谢!rnrnAn error occurred while collecting items to be installedrnsession context was:(profile=C__Users_Administrator_eclipse_jee-rnrnmars_eclipse, rnrnphase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, rnrnaction=).rnNo repository found containing: rnrnosgi.bundle,org.eclipse.epp.logging.aeri.core,1.100.0.v20160304-1116rnNo repository found containing: rnrnosgi.bundle,org.eclipse.epp.logging.aeri.ide,1.100.0.v20160303-1450rnNo repository found containing: rnrnorg.eclipse.update.feature,org.eclipse.epp.logging.aeri.feature,1.100.0rnrn.v20160304-1116
求大神看下sql
现有两张表hz_qyhznr bf_qyhznrrn关联条件hz_qyhznr.nbxh=bf_qyhznr.nbxhrnhz_qyhznr 主键:nbxhrnbf_qyhznr 主键: nbxh bfxhrnrn现在需要从bf_qyhznr取出一条数据,将其中的字段clrq,jyqsrq 赋值到hz_qyhznr中对应字段rnrn取的bf_qyhznr数据要求:bf_qyhznr.bfxh最大
求大神看下~
以下为部分代码[code=c] #region 加载数据rn private void DataLoad()rn rn bool bOpen=(this.connMain.State==System.Data.ConnectionState.Open);rn tryrn rn if(!bOpen)rn rn this.connMain.Open();rn rn if(this.dataset11.Tables["PropertyZZJG"]!=null)rn rn this.dataset11.Tables["PropertyZZJG"].Clear();rn rn this.daMaster.SelectCommand.CommandText=@"select * from PropertyZZJG order by CurrentId";rn this.daMaster.Fill(this.dataset11,"PropertyZZJG");rnrn rn if(this.dataset11.Tables["PropertyUser"]!=null)rn rn this.dataset11.Tables["PropertyUser"].Clear();rn rn this.daUser.SelectCommand.CommandText=@"select * from PropertyUser";rn this.daUser.Fill(this.dataset11,"PropertyUser");rn rn catch(System.Exception ee)rn rn MessageBox.Show(ee.Message,"系统提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);rn rn finallyrn rn if(!bOpen)rn rn this.connMain.Close();rn rn rn rn#endregionrnrn private void ReadTreeNodes1()rn rn if(this.TV_ZZJG.Nodes!=null)rn rn this.TV_ZZJG.Nodes.Clear();rn rn System.Data.DataRow[] dr=this.dtUser.Select("DepartmentID = "+this.TV_Department.SelectedNode.Tag.ToString());rn for(int i=0;i
帮忙看下出错在哪里
int ReCord::OnCreate(LPCREATESTRUCT lpCreateStruct) rnrn if (CUIWnd::OnCreate(lpCreateStruct) == -1)rn return -1;rn CenterWindow();rn // TODO: Add your specialized creation code herern CFile file; rn file.Open(m_strPath, CFile::modeRead);rn char* pBuf; rn DWORD dwFileLen; rn dwFileLen = file.GetLength(); rn pBuf = new char[dwFileLen+1]; rn pBuf[dwFileLen] = 0; rn file.Read(pBuf,dwFileLen); rn file.Close(); rn GetDlgItem(IDC_EDT_RECORD)->SetWindowText(pBuf); rn delete[] pBuf;rn return 0;rn CenterWindow();rnrn其中m_strPath是我存有txt文档的路径,这是一个聊天程序里的一块,我是想在点击查看聊天记录时,能把原来保存在m_strPath下的txt文档里的聊天记录,能显示到IDC_EDT_RECORD,这个edit框里。编译通过,但是当要查看纪录时,一按键就弹出错误。不知道是哪里错了
svn出错,帮忙看下
eclipse的svn插件报这个错:rnWorking copy not locked; this is probably a bug, please reportrnsvn: Directory 'D:\java\workspace\local\WebContent\WEB-INF\classes\com\.svn' containing working copy admin area is missingrnrn网上看了下貌似是自动编译的问题,要加个'**\.svn\**'rn我加了但是还是报错,该怎么办呢?rneclipse刚接触,请各位大神说得详细一点,谢谢呀~
连接出错,帮忙看下
代码如下:rn[code=C/C++]rn#include rnLRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ;rnrnint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,PSTR szCmdLine, int iCmdShow)rnrn static TCHAR szAppName[] = TEXT("HelloWin");rn HWND hwnd;rn MSG msg;rn WNDCLASS wndclass;rn wndclass.style = CS_HREDRAW | CS_VREDRAW;rn wndclass.lpfnWndProc = WndProc;rn wndclass.cbClsExtra = 0;rnwndclass.cbWndExtra = 0;rnwndclass.hInstance = hInstance;rnwndclass.hIcon = LoadIcon (NULL, IDI_APPLICATION);rnwndclass.hCursor = LoadCursor (NULL, IDC_ARROW);rnwndclass.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH);rnwndclass.lpszMenuName = NULL;rnwndclass.lpszClassName = szAppName;rnif (!RegisterClass (&wndclass))rnrnMessageBox ( NULL, TEXT ("This program requires Windows NT!"),rnszAppName, MB_ICONERROR) ;rnreturn 0 ;rnrnhwnd = CreateWindow( szAppName, // window class namern TEXT("The Hello Program"), // window captionrnWS_OVERLAPPEDWINDOW, // window stylernCW_USEDEFAULT, // initial x positionrnCW_USEDEFAULT, // initial y positionrnCW_USEDEFAULT, // initial x sizernCW_USEDEFAULT, // initial y sizernNULL, // parent window handlernNULL, // window menu handlernhInstance, // program instance handlernNULL) ; // creation parametersrnShowWindow(hwnd, iCmdShow);rnUpdateWindow(hwnd);rnwhile(GetMessage(&msg, NULL, 0, 0))rnrnTranslateMessage(&msg);rnDispatchMessage(&msg);rnrnreturn msg.wParam;rnrnrnLRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)rnrnHDC hdc ;rnPAINTSTRUCT ps;rnRECT rect ;rnswitch (message)rnrncase WM_CREATE:rn//PlaySound (TEXT ("hellowin.wav"), NULL, SND_FILENAME | SND_ASYNC) ;rnreturn 0 ;rncase WM_PAINT:rn hdc = BeginPaint(hwnd, &ps) ;rnGetClientRect(hwnd, &rect) ;rnDrawText(hdc, TEXT("Hello, Windows 98!"), -1, &rect,DT_SINGLELINE | DT_CENTER | DT_VCENTER);rnEndPaint(hwnd, &ps);rnreturn 0;rncase WM_DESTROY:rnPostQuitMessage(0);rnreturn 0;rnrnreturn DefWindowProc(hwnd, message, wParam, lParam);rnrn[/code]rnrn错误如下:rn错误 1 error LNK2019: 无法解析的外部符号 _main,该符号在函数 ___tmainCRTStartup 中被引用 MSVCRTD.lib rnrn错误 2 fatal error LNK1120: 1 个无法解析的外部命令 D:\Temp\HelloWin\Debug\HelloWin.exe rnrn请问错在哪里?
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数