INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

JDeveloper - two problems

JDeveloper - two problems

(OP)
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 ....

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close