Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JDeveloper - two problems

Status
Not open for further replies.

alexandardd

Programmer
May 23, 2010
1
BA
Hello,
I have two "unsolvable" problems in JDeveloper! I cant find nowhere a solution to the problems are so banal, and stupid .... The first problem, fresh install JDeveloper 11g and want to make a swing desktop application. Do the following: New Application, I choose Java Desktop Application, Next, Finish. Then right-click "New ..." and take the ADF Swing Panel Empty. Immediately to run, and it run blank panel, but with a "million" mistakes:

May 19, 2010 6:03:05 PM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
INFO: file:/C:/JDeveloper/mywork/Chat/Client/classes/chat/DataBindings.cpx
May 19, 2010 6:03:05 PM oracle.adf.share.config.ADFConfigFactory getInstance
INFO: ADF Config instance implementation in use is : oracle.adf.share.config.MDSConfigFactory
May 19, 2010 6:03:06 PM oracle.as.jmx.framework.LoggerHelper log
SEVERE: Error initializing the JMX FRamework SPI "oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl"
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.as.jmx.framework.PortableMBeanFactory.initializeSPI(PortableMBeanFactory.java:1876)
at oracle.as.jmx.framework.PortableMBeanFactory.initializePlatformSPI(PortableMBeanFactory.java:1832)
at oracle.as.jmx.framework.PortableMBeanFactory.init(PortableMBeanFactory.java:1812)
at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:204)
at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:212)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at oracle.mds.core.MDSInstance.lookupMBeanServer(MDSInstance.java:1999)
at oracle.mds.core.MDSInstance.checkMDSDeployStatus(MDSInstance.java:910)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1631)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1605)
at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:1900)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:487)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:458)
at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:404)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:50)
at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1078)
at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:60)
at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:189)
at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:71)
at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:237)
at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1447)
at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:562)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:606)
at oracle.jbo.uicli.controls.JUTestFrame.createBindingCtxAndSetUpMenu(JUTestFrame.java:152)
at oracle.jbo.uicli.controls.JUTestFrame.<init>(JUTestFrame.java:117)
at oracle.jbo.uicli.controls.JUTestFrame.startTestFrame(JUTestFrame.java:80)
at chat.Panel1.main(Panel1.java:90)
Caused by: java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/Stats
at oracle.as.jmx.framework.standardmbeans.spi.CoreJMXFrameworkProviderImpl.createMBean(CoreJMXFrameworkProviderImpl.java:62)
at oracle.as.jmx.framework.PortableMBeanFactory.createMBean(PortableMBeanFactory.java:230)
at oracle.as.jmx.framework.config.session.ConfigurationSessionManager.registerSessionManagerMBean(ConfigurationSessionManager.java:132)
at oracle.as.jmx.framework.config.session.ConfigurationSessionManager.<init>(ConfigurationSessionManager.java:127)
at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.initConfigSessionInfrastructure(CoreJMXFrameworkProviderImpl.java:301)
at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.init(CoreJMXFrameworkProviderImpl.java:254)
at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.init(CoreJMXFrameworkProviderImpl.java:134)
at oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl.init(JMXFrameworkProviderImpl.java:77)
... 41 more
Caused by: java.lang.ClassNotFoundException: javax.management.j2ee.statistics.Stats
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 49 more
Process exited with exit code 0.

Therefore, the panel run, but these mistakes bush me, if anyone knows what's the problem? Maybe I dont chose the right Swing Desktop Project? Or what?

Another problem is when I go to the source code of this panel, there not worjs my right brace - }. So, on a laptop, not work alg g + N (but, alt gr + B, (left brace) is work). Incredible... please help me ....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top