<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>You need to be careful that none of the classes in your jar have dependencies that are not also in the jar or on the server classpath. They can be messed up through the use of a JPA or Spring annotation for instance.</div><div><br></div><div>I tend to create a separate Maven project for my fact model, purely to ensure that there are no such dependencies, since it won't compile if there are any.</div><div><br></div><br><div><div>On 18 Feb 2013, at 13:05, Michael Anstis &lt;<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">The JAR must be a regular Java JAR file.<br><br>There were issues on older versions of Guvnor that meant that once a JAR had been uploaded you needed to restart the web-server, but I believe this has been resolved.<br><br>
Building the package should give you all validation errors. The warning icon, I assume being that to which you refer, indicates there is a validation error.<br><br><div class="gmail_quote">On 18 February 2013 12:07, oresch <span dir="ltr">&lt;<a href="mailto:olaf.resch@t-online.de" target="_blank">olaf.resch@t-online.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry to ask this basic question. What does the pojo.jar contain? Is there a<br>
required format for the class. &nbsp;Is there an example? I tried &nbsp;to pack the<br>
.java and the .class in various formats, but even though the upload is<br>
working there is a warning sign next to the asset and I can not use the<br>
content. By the way, how can I see what the warning sign acctually means?<br>
Best wishes<br>
Olaf<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/POJO-jar-Format-for-upload-a-fact-model-basic-question-tp4022393.html" target="_blank">http://drools.46999.n3.nabble.com/POJO-jar-Format-for-upload-a-fact-model-basic-question-tp4022393.html</a><br>

Sent from the Drools: User forum mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users</blockquote></div><br></body></html>