Hi Gurkan Thanks a lot for your guidance! But I got trapped in step6 now,when running "mvn clean tomcat:deploy".It will result in a BUILD ERROR. [INFO] Deploying war to http://localhost:8080/ejb-sample [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot invoke Tomcat manager
Embedded error: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/deploy?path=%2Fejb-sample&war= I have set user name and password for http://localhost:8080/manager/html in tomcat-users.xml. Do I need to configure somewhere,then it's authorized to visit http://localhost:8080/manager? Thanks in advance!
