[wildfly-dev] Swarm "Could not find or load main class"

Ken Finnigan ken at kenfinnigan.me
Wed May 6 06:40:20 EDT 2015


Hi Markus,

That's weird, as I was able to clone your repo, build it, and run it
without any problems.

Is your fat jar around 30.1Mb in size? Does
org.wildfly.swarm.bootstrap.Main exist in that jar?

Thanks
Ken


On Wed, May 6, 2015 at 6:17 AM, Markus Eisele <myfear at web.de> wrote:

> Hi,
>
> I've been playing around with swarm today and here is the source:
> https://github.com/myfear/WildFlySwarmDemo
>
> Very simple project. JAX-RS and nothing else.
>
> mvn package produces the jar. Execution results in:
>
> java -jar swarm-sample-1.0-SNAPSHOT-swarm.jar
> Error: Could not find or load main class org.wildfly.swarm.bootstrap.Main
>
> Any help appreciated!
>
> Thanks,
> M
>
> ____________
> @myfear
> http://blog.eisele.net
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20150506/d9a60be2/attachment-0001.html 


More information about the wildfly-dev mailing list