[forge-dev] ClassNotFoundException: org.jboss.forge.bootstrap.Bootstrap

Rafael Pestano rmpestano at gmail.com
Mon Dec 9 09:11:03 EST 2013


Hi guys, im getting this exception too but im using 1.4.3-Final.

Can it be related to proxy settings?


although i get the exception Forge starts and i can run commands without
problems:

java.lang.IllegalStateException: Plugin entry.getApiVersion() must not be
null.
        at org.jboss.forge.parser.java.util.Assert.notNull(Assert.java:35)
        at
org.jboss.forge.shell.InstalledPluginRegistry.isApiCompatible(InstalledPluginRegistry.java:268)
        at
org.jboss.forge.shell.InstalledPluginRegistry.listByAPICompatibleVersion(InstalledPluginRegistry.java:85)
        at org.jboss.forge.shell.Bootstrap.loadPlugins(Bootstrap.java:233)
        at org.jboss.forge.shell.Bootstrap.access$200(Bootstrap.java:38)
        at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:125)
        at java.lang.Thread.run(Thread.java:724)
    _____
   |  ___|__  _ __ __ _  ___
   | |_ / _ \| `__/ _` |/ _ \  \\
   |  _| (_) | | | (_| |  __/  //
   |_|  \___/|_|  \__, |\___|
                   |___/

  Windows? Really? Okay...

thanks in advance


2013/11/24 Ivan St. Ivanov <ivan.st.ivanov at gmail.com>

> Hi George,
>
> The problem was that my FORGE_HOME environment var was still pointing to
> the 1.4 version of Forge. Sorry for disturbing!
>
> Cheers,
> Ivan
> On Nov 24, 2013 1:11 AM, "George Gastaldi" <ggastald at redhat.com> wrote:
>
>> This is odd. Are you running on which OS?
>>
>> Em 23/11/2013, às 19:19, "Ivan St. Ivanov" <ivan.st.ivanov at gmail.com>
>> escreveu:
>>
>> Hi folks,
>>
>> I just downloaded the Forge 2 distribution from
>> https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.jboss.forge&a=forge-distribution&v=2.0.0.Beta3&e=zip
>>
>> When I try to start it by running the forge script, I get the following
>> exception:
>>
>> Caused by: java.lang.ClassNotFoundException:
>> org.jboss.forge.bootstrap.Bootstrap
>>
>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>> Could not find the main class: org.jboss.forge.bootstrap.Bootstrap.
>>  Program will exit.
>>
>> Am I missing something?
>>
>> Thanks,
>> Ivan
>>
>> _______________________________________________
>> forge-dev mailing list
>> forge-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>
>>
>> _______________________________________________
>> forge-dev mailing list
>> forge-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>



-- 
<http://www.advancedit.com.br/>Att,

Rafael M. Pestano

Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
Graduando em Ciência da Computação UFRGS
http://conventionsframework.org <http://conventions.github.io/home/>
http://rpestano.wordpress.com/
@realpestano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20131209/b387f4de/attachment.html 


More information about the forge-dev mailing list