Error occurred during glassfish deployment - There is no web component by the name of default here
问题 This is my first time to deploy web application on a Glassfish Server with Maven. I execute the following maven goals step by step: mvn glassfish:create-domain -P glassfish mvn glassfish:start-domain -P glassfish mvn glassfish:deploy -P glassfish Everything goes fine until the third step ( glassfish:deploy ) and the error message is [ERROR] remote failure: Error occurred during deployment: Exception while deploying the app [herald-web-services] : There is no web component by the name of