Resolution: Description: ============ EAR file may not be created if the command option was not given properly. For instance, the following exception may appear if the "-ear" option was not specified properly. <-------------- Starting up... Initiating validation... (0) errors and (16) warnings found com.tibco.ae.designerapi.RootFolder cannot be cast to com.tibco.ae.tools.palettes.archivebuilderpalette.EnterpriseArchiveBuilderResource java.lang.ClassCastException: com.tibco.ae.designerapi.RootFolder cannot be cast to com.tibco.ae.tools.palettes.archivebuilderpalette.EnterpriseArchiveBuilderResource at com.tibco.ae.tools.palettes.archivebuilderpalette.ArchiveProject.getEarResource(ArchiveProject.java:298) at com.tibco.ae.tools.palettes.archivebuilderpalette.ArchiveProject.execute(ArchiveProject.java:191) at com.tibco.ae.tools.palettes.archivebuilderpalette.ArchiveProject.main(ArchiveProject.java:42) --------->
This article gives the usage of buildear and a sample command.