java ee - GlassFish deployment of ear file fails due to archive type of ear not recognized -
i researching creating ‘ear’ file deployment of web application websphere. i using intellij 2017.2, glassfish 5.0, java 8 update 144, , java se development kit 8 update 144. following intellij ‘developing java ee application’ instructions created , deployed war file. after creating ear file deploying fails with: artifact jhw:ear: error during artifact deployment. see server log details. artifact jhw:ear: java.io.ioexception: com.sun.enterprise.admin.remote.remotefailureexception: ‘archive type of c:\...\jhw_ear.ear not recognized.’ this failure same whether run deployment in intellij or use command line deploy glassfish. i have found no articles describing error.