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

Ivan St. Ivanov ivan.st.ivanov at gmail.com
Mon Dec 9 09:43:01 EST 2013


Hi Rafael,

Where does your $FORGE_HOME variable point to?

Cheers,
Ivan


On Mon, Dec 9, 2013 at 4:34 PM, Vineet Reynolds Pereira <vpereira at redhat.com
> wrote:

>
>
> ----- Original Message -----
> > From: "Rafael Pestano" <rmpestano at gmail.com>
> > To: "forge-dev List" <forge-dev at lists.jboss.org>
> > Sent: Monday, December 9, 2013 7:41:03 PM
> > Subject: Re: [forge-dev] ClassNotFoundException:
>  org.jboss.forge.bootstrap.Bootstrap
> >
> > Hi guys, im getting this exception too but im using 1.4.3-Final.
> >
> > Can it be related to proxy settings?
>
> Hey Rafael,
>
>     This doesn't look like a proxy issue. Could you please verify that
> you're indeed using 1.4.3.Final ?
>
>     The stack trace seems to indicate you're on 1.2.0.Final or earlier.
>
> Thanks,
> Vineet
>
> >
> >
> > 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
> >
> >
> >
> > --
> > 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://rpestano.wordpress.com/
> > @realpestano
> >
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20131209/861c8a30/attachment.html 


More information about the forge-dev mailing list