Was wondering if anyone else has run into this. I ...
# sdf
t
Was wondering if anyone else has run into this. I installed the SDFCLI and set my Java version back to 11 so it would run but now my Eclipse IDE Plugin won't connect to NetSuite and fails with a class not found soap exception. I did a fresh Eclipse install and even reset the java back to 1.8 and no luck.
java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179) at org.apache.axis.AxisEngine.init(AxisEngine.java:172) at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156) at org.apache.axis.client.AxisClient.<init>(AxisClient.java:52) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at com.netsuite.suitetalk.proxy.v2017_1.platform.NetSuiteServiceLocator.<init>(NetSuiteServiceLocator.java:12) at com.netsuite.ide.core.webservice.WebServiceContext.createTokenPassport(WebServiceContext.java:204) at com.netsuite.ide.core.webservice.WebServiceContext.<init>(WebServiceContext.java:77) at com.netsuite.ide.core.account.AccountVerificationServiceImpl.verifyConnection(AccountVerificationServiceImpl.java:20) at com.netsuite.ide.eclipse.action.LoginAction.run(LoginAction.java:41) at com.netsuite.ide.eclipse.action.LoginAction.run(LoginAction.java:1) at com.netsuite.ide.eclipse.handler.AbstractJobCommandHandler.perform(AbstractJobCommandHandler.java:134) at com.netsuite.ide.eclipse.handler.AbstractJobCommandHandler$2.run(AbstractJobCommandHandler.java:175) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) Caused by: java.lang.ClassNotFoundException: javax.xml.soap.SOAPException cannot be found by com.netsuite.ide.eclipse.lib_2020.2.1 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:516) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
l
Hi Travis. Yes, you should use Eclipse with Java version 1.8. However you could still use Java 11 in SDF CLI if you want. Go to the folder where you have installed Eclipse and add to the file
eclipse.ini
the following line:
-vm C:/{path/to/java8/directory}/bin
Then restart Eclipse.
t
No, that doesn't fix it. I currently only have 1.8 installed. I'm going to resort to completely removing anything I can find related to Java and start over again.
k
@Travis Zuri did you get your issue resolved? I installed SuiteCloud CLI on my Mac just today and was nervous about installing and specifying Java 11. (Did not want to run into what you described -- unintended issues with Eclipse). I was able to specify to use Java 11 per specific directory (locally) when initiating a new SuiteCloud project via the CLI. https://www.jenv.be/ I hope you got it figured out. Getting Eclipse up and running was a pain.
t
No, I never was able to get it running again. I even did a fresh install on a new windows machine then a new Linux box and all the installations gave me the same error. I gave up and moved to Visual Code's extension