Posted by h479103
on April 20, 2010 at 11:15 AM PDT
I have an EAR project in Eclipse. I copy some jars into my EarContent/lib folder. These jars appear in Bundled Libraries/... after refreshing. It works well with most of the jars, but some cause error.
-copy jcalendar, or swingx to the EarContent/lib
( for example: http://www.toedter.com/en/jcalendar/index.html )
-add other jars to EarContent/lib
(for example MigLayout http://www.miglayout.com/ )
-refresh projects and restart eclipse
-right click on server in servers view, and click "Add and Remove"
-add your project
-deployment does not finish i get exception:
cannot Deploy TestSwingx
Deployment Error for module: TestSwingx: There is no installed container capable of handling this application com.sun.enterprise.deploy.shared.FileArchive@c20151%%%EOL%%%
One thing I noticed: if you expand your project in "Add or Remove", there will appear JCalendar but not MigLayout.
If you use only JCalendar you cannot deploy.
If you use only MigLayout you can deploy.
You can always deploy from glassfish admin console.
GlassFish v3 (build 74.2)
default GF3.0 server adaptor
jre1.6.0u16 and u18