-
1. Re: Exception in thread "main" java.lang.IllegalStateException: No instances of [org.jboss.forge.roaster.spi.JavaParser] were found on the classpath.
gastaldi Mar 14, 2017 7:33 PM (in response to manhaylaw0605)You need to add the implementation too (roaster-jdt). See the installation
instructions in
https://github.com/forge/roaster/blob/master/README.asciidoc#installation
Em 14 de mar de 2017 20:31, "manhaylaw0605" <do-not-reply@jboss.com>
escreveu:
JBoss Developer <https://developer.jboss.org/?et=watches.email.thread>
Exception in thread "main" java.lang.IllegalStateException: No instances
of were found on the classpath.
created by Jason Law
<https://developer.jboss.org/people/manhaylaw0605?et=watches.email.thread>
in Forge - View the full discussion
<https://developer.jboss.org/message/969826?et=watches.email.thread#969826>
-
2. Re: Exception in thread "main" java.lang.IllegalStateException: No instances of [org.jboss.forge.roaster.spi.JavaParser] were found on the classpath.
eiooiaoo Mar 27, 2017 11:54 AM (in response to gastaldi)I've got the same problem.
pom.xml looks like instructed here: roaster/README.asciidoc at master · forge/roaster · GitHub
After downgrading from 2.20.0.Final to 2.19.5.Final the problem disappeared.
-
3. Re: Exception in thread "main" java.lang.IllegalStateException: No instances of [org.jboss.forge.roaster.spi.JavaParser] were found on the classpath.
gastaldi Mar 27, 2017 2:41 PM (in response to eiooiaoo)That's weird. What happens if you remove the runtime scope from the
roaster-jdt dependency?
Em 27 de mar de 2017 19:39, "eiooiaoo" <do-not-reply@jboss.com> escreveu:
JBoss Developer <https://developer.jboss.org/?et=watches.email.thread>
Exception in thread "main" java.lang.IllegalStateException: No instances
of were found on the classpath.
reply from Heiko Bornholdt
<https://developer.jboss.org/people/eiooiaoo?et=watches.email.thread> in
Forge - View the full discussion
<https://developer.jboss.org/message/970259?et=watches.email.thread#970259>
-
4. Re: Exception in thread "main" java.lang.IllegalStateException: No instances of [org.jboss.forge.roaster.spi.JavaParser] were found on the classpath.
jkiddo Nov 17, 2017 6:55 PM (in response to gastaldi)It's a bug in the latest release. It works fine in 2.20.0.Final but not in 2.20.1.Final
-
5. Re: Exception in thread "main" java.lang.IllegalStateException: No instances of [org.jboss.forge.roaster.spi.JavaParser] were found on the classpath.
gastaldi Nov 18, 2017 1:02 PM (in response to jkiddo)Hi Jens,
Are you sure? The code difference between them are just minor bugfixes. Have you tried the solution above?
-
6. Re: Exception in thread "main" java.lang.IllegalStateException: No instances of [org.jboss.forge.roaster.spi.JavaParser] were found on the classpath.
jkiddo Nov 18, 2017 4:10 PM (in response to gastaldi)It's still a no-works to me
-
7. Re: Exception in thread "main" java.lang.IllegalStateException: No instances of [org.jboss.forge.roaster.spi.JavaParser] were found on the classpath.
gastaldi Nov 18, 2017 5:16 PM (in response to jkiddo)Can you place your project in a Github repository that reproduces the issue you're having?