Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Illegal Char <*> error in jar path(Getting an illegal character error when trying to import external jar files.)
Illegal Char <*> error in jar path [message #1824270] Sat, 11 April 2020 16:19 Go to next message
Andy Beta is currently offline Andy BetaFriend
Messages: 5
Registered: April 2020
Junior Member
Trying out with SoapUI, getting this for any and all jar files associated with any Java project I create
"An error has occurred. See error log for more details.
Illegal char <*> at index 50: C:\Program Files (x86)\SmartBear\SoapUI-5.5.0\lib\*.jar"
The jar file names themselves are not *.jar obviously.
Re: Illegal Char <*> error in jar path [message #1824277 is a reply to message #1824270] Sun, 12 April 2020 09:22 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31152
Registered: July 2009
Senior Member
Which file is is showing this error? Did you set up a classpath and entered this value? Wherever you configured the classpath, you need to list each jar separately, not use a wildcard.
Re: Illegal Char <*> error in jar path [message #1824280 is a reply to message #1824277] Sun, 12 April 2020 15:26 Go to previous messageGo to next message
Andy Beta is currently offline Andy BetaFriend
Messages: 5
Registered: April 2020
Junior Member
It did appear to happen when I tried to add multiple External JARs at the same time.
Going through one by one doesn't mess up the path.
In that case, when going through the Java Build Path > Library, is there a way to add all JARs from a directory without having to add and apply each one individually?
  • Attachment: jars.png
    (Size: 54.47KB, Downloaded 23 times)
Re: Illegal Char <*> error in jar path [message #1824282 is a reply to message #1824280] Sun, 12 April 2020 16:38 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31152
Registered: July 2009
Senior Member
You would need to use multiple selection to select the many jars you want to add.
Re: Illegal Char <*> error in jar path [message #1824285 is a reply to message #1824282] Sun, 12 April 2020 19:33 Go to previous messageGo to next message
Andy Beta is currently offline Andy BetaFriend
Messages: 5
Registered: April 2020
Junior Member
Is there a limit to how many JAR files can be imported? Seems at some point I get the <*> error even when adding individually
Re: Illegal Char <*> error in jar path [message #1824287 is a reply to message #1824285] Sun, 12 April 2020 23:42 Go to previous messageGo to next message
Andy Beta is currently offline Andy BetaFriend
Messages: 5
Registered: April 2020
Junior Member
For reference (attached), after adding around 72 external jars, the error popped up and clicking on any jars part of the current project gets the same error.
  • Attachment: eclipse.png
    (Size: 123.58KB, Downloaded 26 times)
Re: Illegal Char <*> error in jar path [message #1824289 is a reply to message #1824287] Mon, 13 April 2020 04:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31152
Registered: July 2009
Senior Member
I was able to add 101 just now, so no I don't think there is a limit. The message suggests there is still a file with a *.jar specified in it. This information is stored in each project in <project>/.classpath. This file is hidden by default. Use the view menu icon (the vertical ... ) and use Filter... to not hide ".* resources". Then you can use Search -> File... to search for "*"; you'll need to escape it, i.e., search for "\*" in files named .classpath.
Re: Illegal Char <*> error in jar path [message #1824405 is a reply to message #1824289] Tue, 14 April 2020 21:44 Go to previous message
Andy Beta is currently offline Andy BetaFriend
Messages: 5
Registered: April 2020
Junior Member
Finally narrowed it down to one jar file causing the issue after manually editing the classpath file
SmartBear/SoapUI-5.5.0/lib/out-app-analytics-provider-5.5.0.jar
Previous Topic:WORKSPACE ERROR
Next Topic:Main class not found
Goto Forum:
  


Current Time: Wed May 27 23:14:28 GMT 2020

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

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

Back to the top