Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Getting StringTokenizer error when opening a xml file(Getting StringTokenizer error when opening a xml file)
Getting StringTokenizer error when opening a xml file [message #1856011] Tue, 15 November 2022 15:53 Go to next message
Eclipse UserFriend
I am getting the below when i open a xml file.

 java.lang.NoClassDefFoundError: com/ibm/util/StringTokernizer


Seems to be due to plugins org.eclipse.xsd_2.18.0.v20220616-0915.jar
I have attached a screen shot of the error stacks in the attachment.

Appreciate any help.

General information:
1. Windows 10
2. Eclipse 2022-09 (latest update)
3. JBoss 4.25.0
4. JDK-17

Thanks.

[Updated on: Wed, 16 November 2022 00:14] by Moderator

Re: Getting StringTokenizer error when opening a xml file [message #1856016 is a reply to message #1856011] Tue, 15 November 2022 23:43 Go to previous messageGo to next message
Eclipse UserFriend
Can you check within your eclipse installation if you have a plug-in named com.ibm.cu ?
Re: Getting StringTokenizer error when opening a xml file [message #1856017 is a reply to message #1856016] Wed, 16 November 2022 00:07 Go to previous messageGo to next message
Eclipse UserFriend
No
Re: Getting StringTokenizer error when opening a xml file [message #1856018 is a reply to message #1856016] Wed, 16 November 2022 00:08 Go to previous messageGo to next message
Eclipse UserFriend
No
Re: Getting StringTokenizer error when opening a xml file [message #1856019 is a reply to message #1856018] Wed, 16 November 2022 00:12 Go to previous messageGo to next message
Eclipse UserFriend
Sorry for multiple replies .. here's what i am seeing:
1. On "About Eclipse" -> "Installation Detail" .. i did a search for ibm and i don't see the above.
2. On the eclipse/plugins folder itself i am seeing:
a. com.ibm.icu.base_58.2.0.v20170418-1837.jar
b. com.ibm.icu_67.1.0.jar
Thanks.

Note: i am using JDK-17

[Updated on: Wed, 16 November 2022 00:15] by Moderator

Re: Getting StringTokenizer error when opening a xml file [message #1856020 is a reply to message #1856019] Wed, 16 November 2022 00:54 Go to previous messageGo to next message
Eclipse UserFriend
Hi

(Most people use an error log cit and paste, else a screen shot tool; a literal photograph is hard to read.)

From what I can see, the problem is in wst, not xsd which has no com.ibm dependency.

The com.ibm functionality comprises functionality that was useful 10 years ago when Java lagged the evolving Unicode specification. Java Unicode has been good for a long time and the com.ibm functionality has become troublesome prompting many projects to eliminate it completely. YOu are therefore probably finding that something, possibly the platform is not providing the support that wst or jboss still requires. You need to explicitly include it yourself for now.

Regards

Ed Willink
Re: Getting StringTokenizer error when opening a xml file [message #1856021 is a reply to message #1856020] Wed, 16 November 2022 01:13 Go to previous messageGo to next message
Eclipse UserFriend
What should i do?
Re: Getting StringTokenizer error when opening a xml file [message #1856022 is a reply to message #1856021] Wed, 16 November 2022 01:16 Go to previous messageGo to next message
Eclipse UserFriend
This is also strange. Shouldn't Eclipse Team handles this issue? This is Eclipse IDE. Am i missing something here? Just curious.
Re: Getting StringTokenizer error when opening a xml file [message #1856040 is a reply to message #1856022] Wed, 16 November 2022 09:22 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Best not to mix 2022-06 and 2022-09 versions. Quite probably installing the matching 2022-09 webtools on the 2022-09 Eclipse platform will solve the problem.

Regards

Ed Willink
Re: Getting StringTokenizer error when opening a xml file [message #1856041 is a reply to message #1856040] Wed, 16 November 2022 10:32 Go to previous messageGo to next message
Eclipse UserFriend
But i never mixed 2022-06 with 2022-09. I downloaded brand new copy of 2022-09.
Re: Getting StringTokenizer error when opening a xml file [message #1856044 is a reply to message #1856041] Wed, 16 November 2022 13:02 Go to previous messageGo to next message
Eclipse UserFriend
Hi

It's hard to tell from your snippets. The xsd was clearly 2022-06, but the photo shows a wst 2022-07, so maybe the problem is that the webtools team didn't test sufficient installation permutations of their 2022-09 contribution. You can try the 2022-12 wip, or as I suggested earlier just provide com.ibm.icu that something clearly needs in your installation.

Regards

Ed Willink
Re: Getting StringTokenizer error when opening a xml file [message #1856045 is a reply to message #1856044] Wed, 16 November 2022 13:10 Go to previous message
Eclipse UserFriend
Ok. Can you transfer me to the Web Tool Group in this forum? Appreciate that.
Previous Topic:Eclipse table border
Next Topic:Views are created in SQL Server
Goto Forum:
  


Current Time: Wed Oct 29 11:51:00 EDT 2025

Powered by FUDForum. Page generated in 0.45944 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top