Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hi,
Could any one please help why the below exception is coming when a menu is clicked in ArborText Editor.
[A30135] Cannot load class CustomMenu because a dependent class was not found
CustomMenu is my custom class and it has some dependent jar files with folder contains some dependent class. I kept my CustomMenu.class and jar in the path \Arbortext Editor\custom\classes
\Arbortext Editor\custom\classes\CustomMenu.class
\Arbortext Editor\custom\classes\custom.jar
\Arbortext Editor\custom\classes\org(this folder contains dependent class files for CustomMenu)
After applying this I started ArborText Editor and I clicked my Menu , I am getting ([A30135] Cannot load class CustomMenu because a dependent class was not found), error at the bottom of the Editor
Could any one please help on this
Thanks.
Prashant
Solved! Go to Solution.
HI Clay,
I don't now does this will help in all scenarios, I opened windows command prompt and I executed the file "CustomMenu.class" , when I executed each time I got exception "Exception in thread "main" java.lang.NoClassDefFoundError:" So what ever the dependent class jar missing I used to going on adding the jar in the path "\Arbortext Editor\custom\classes" till that file executed without errors. I don't know why this not displaying in Arbortext console.
Thanks,
Prashant.
Hi Prashant
Does dependent class has package name ?
For example if dependent class's package name is 'org.custom'.
Then dependent class must be located in '\Arbortext Editor\custom\classes\org\custom'.
Otherwise if class has no package name, the class must be located in '\Arbortext Editor\custom\classes'.
Same as CustomMenu.class.
Thanks,
Kim, Joon O
HI Kim,
Thanks for your immediate response. Class 'CustomMenu.class' has no package this file is kept in \Arbortext Editor\custom\classes path.But this class is using other class methods which is present in the folder org\... All these are kept under the path "\Arbortext Editor\custom\classes"
Thanks,
Prashant
Hi Prashant--
Are you looking at the Java Console in Arbortext editor when this happens? You may be able to get more detailed stack trace information there that could help you troubleshoot which specific class is causing the problem. To display the Java Console, from the menus choose Tools->Administrative Tools->Java Console.
--Clay
HI Clay,
I have checked the console, but its blank.
Thanks,
Prashant
HI Clay,
I got the issue fixed, thank you very much.
Regards,
Prashant
I'm glad to hear that. For future reference, what did you do to fix the problem?
--C
HI Clay,
I don't now does this will help in all scenarios, I opened windows command prompt and I executed the file "CustomMenu.class" , when I executed each time I got exception "Exception in thread "main" java.lang.NoClassDefFoundError:" So what ever the dependent class jar missing I used to going on adding the jar in the path "\Arbortext Editor\custom\classes" till that file executed without errors. I don't know why this not displaying in Arbortext console.
Thanks,
Prashant.