Skip to Main Content

java.lang.NoClassDefFoundError: java/sql/SQLType

William.xiaoJul 15 2019

Hello,

We use jdeveloper to make a Demo function of MSCA

The file is uploaded to $JAVA_TOP/oracle/apps/inv/

These files include:

DemoFunction.class

DemoListener.class

DemoPage.class

when logon  msca  ,after select organization M1, the function wasn't working, we get the following error in /u01/install/APPS/fs2/inst/apps/EBSDB_vision01/logs/2310.system.log:

[Mon Jul 15 02:12:37 EDT 2019] (Thread-18) Retrieving from AK - controller object type:cux.oracle.apps.wms.utilities.CuxWmsResourceTable AttributeCode:CUX_CANCEL_PROMPT

[Mon Jul 15 02:12:37 EDT 2019] (Thread-18) AK request returning:CUX_CANCEL_PROMPT

[Mon Jul 15 02:12:37 EDT 2019] (Thread-18) SM_EXCEPTION: Exception occurred with user MFG

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

at oracle.apps.mwa.container.StateMachine.loadPage(StateMachine.java:1471)

at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:1111)

at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:953)

at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:1242)

at oracle.apps.mwa.presentation.telnet.PresentationManager.handle(PresentationManager.java:664)

at oracle.apps.mwa.presentation.telnet.ProtocolHandler.run(ProtocolHandler.java:899)

Caused by: java.lang.NoClassDefFoundError: java/sql/SQLType

at oracle.apps.inv.demo_11175.server.DemoPage.initListeners(DemoPage.java:118)

at oracle.apps.inv.demo_11175.server.DemoPage.<init>(DemoPage.java:24)

... 10 more

Caused by: java.lang.ClassNotFoundException: java.sql.SQLType

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

... 12 more

The Part of  Source Code:

    public DemoPage(Session paramSession) {

        setSession(paramSession);      

              initLayouts();      

              initPrompts();      

              initListeners(); 

    }

    private void initListeners() {

            this.mListener = new DemoListener(this);

            this.subinvField.addListener(this.mListener);

            this.locatorField.addListener(this.mListener);

            this.itemLovField.addListener(this.mListener);

            this.confirmButton.addListener(this.mListener);

            this.cancleButton.addListener(this.mListener);

            addListener(this);

        }

Comments
Post Details
Added on Jul 15 2019
0 comments
85 views