<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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>
</div>
<blockquote
cite="mid:CAKYV=+8tjM=HszqNiqGhsgCOuGKf9y-LhGGRBppnFEK_a-igBQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<p dir="ltr">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?</p>
<p><br>
Anything I can do to provide more debug information?</p>
<p>Cheers,</p>
<p>Markus</p>
<p dir="ltr"><br>
</p>
<div class="gmail_quote">On May 6, 2015 12:40 PM, "Ken Finnigan"
<<a moz-do-not-send="true" href="mailto:ken@kenfinnigan.me"
target="_blank">ken@kenfinnigan.me</a>> wrote:<br
type="attribution">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Hi Markus,
<div><br>
</div>
<div>That's weird, as I was able to clone your repo, build
it, and run it without any problems.</div>
<div><br>
</div>
<div>Is your fat jar around 30.1Mb in size? Does
org.wildfly.swarm.bootstrap.Main exist in that jar?</div>
<div><br>
</div>
<div>Thanks</div>
<div>Ken</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, May 6, 2015 at 6:17 AM,
Markus Eisele <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:myfear@web.de"
target="_blank">myfear@web.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px
0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
I've been playing around with swarm today and here is
the source:<br>
<a moz-do-not-send="true"
href="https://github.com/myfear/WildFlySwarmDemo"
target="_blank">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 moz-do-not-send="true"
href="http://blog.eisele.net" target="_blank">http://blog.eisele.net</a><br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:wildfly-dev@lists.jboss.org"
target="_blank">wildfly-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/wildfly-dev"
target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<input name="virtru-metadata"
value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"expires":false},"attachments":{}}"
type="hidden"></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
wildfly-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></pre>
</blockquote>
<br>
</body>
</html>