<p dir="ltr">Hi, </p>
<p dir="ltr">The output doesn't contain a single org.jboss class being loaded. Also it does not contain the jar itself. <br>
So, technically speaking this can't work. But why? The command isn't exactly complicated.</p>
<p dir="ltr"> Any further ideas? <br>
Thanks, <br>
Markus</p>
<p dir="ltr">> On May 6, 2015 2:12 PM, "Jaikiran Pai" <<a href="mailto:jai.forums2013@gmail.com">jai.forums2013@gmail.com</a>> wrote:<br>
>><br>
>> A quick debugging option is to try:<br>
>><br>
>> java -verbose:class -jar swarm-sample-1.0-SNAPSHOT-swarm.jar<br>
>><br>
>> That will dump out some information of where the classes are being loaded from. It might give a hint on what's going on. You might want to redirect the output to a file since with that -verbose:class option, the output can potentially be huge.<br>
>><br>
>> -Jaikiran<br>
>> On Wednesday 06 May 2015 04:22 PM, Markus Eisele wrote:<br>
>>><br>
>>> It is around 30 Meg and does contain the class. Indeed. <br>
>>> I have a pretty straight forward JDK setup and tried to run with both 1.7.0_65 and 1.8.0_20.<br>
>>> Only difference is that I run on Windows? <br>
>>> Is the maven version an issue? I'm running 3.3.3?<br>
>>><br>
>>><br>
>>> Anything I can do to provide more debug information?<br>
>>><br>
>>> Cheers,<br>
>>><br>
>>> Markus<br>
>>><br>
>>><br>
>>> On May 6, 2015 12:40 PM, "Ken Finnigan" <<a href="mailto:ken@kenfinnigan.me">ken@kenfinnigan.me</a>> wrote:<br>
>>>><br>
>>>> Hi Markus,<br>
>>>><br>
>>>> That's weird, as I was able to clone your repo, build it, and run it without any problems.<br>
>>>><br>
>>>> Is your fat jar around 30.1Mb in size? Does org.wildfly.swarm.bootstrap.Main exist in that jar?<br>
>>>><br>
>>>> Thanks<br>
>>>> Ken<br>
>>>><br>
>>>><br>
>>>> On Wed, May 6, 2015 at 6:17 AM, Markus Eisele <<a href="mailto:myfear@web.de">myfear@web.de</a>> wrote:<br>
>>>>><br>
>>>>> Hi,<br>
>>>>><br>
>>>>> I've been playing around with swarm today and here is the source:<br>
>>>>> <a href="https://github.com/myfear/WildFlySwarmDemo">https://github.com/myfear/WildFlySwarmDemo</a><br>
>>>>><br>
>>>>> Very simple project. JAX-RS and nothing else.<br>
>>>>><br>
>>>>> mvn package produces the jar. Execution results in:<br>
>>>>><br>
>>>>> java -jar swarm-sample-1.0-SNAPSHOT-swarm.jar<br>
>>>>> Error: Could not find or load main class org.wildfly.swarm.bootstrap.Main<br>
>>>>><br>
>>>>> Any help appreciated!<br>
>>>>><br>
>>>>> Thanks,<br>
>>>>> M<br>
>>>>><br>
>>>>> ____________<br>
>>>>> @myfear<br>
>>>>> <a href="http://blog.eisele.net">http://blog.eisele.net</a><br>
>>>>> _______________________________________________<br>
>>>>> wildfly-dev mailing list<br>
>>>>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
>>>>> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
>>>><br>
>>>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> wildfly-dev mailing list<br>
>>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> wildfly-dev mailing list<br>
>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</p>