문제

When I try to deploy to a remote Tomcat server using grails prod deploy tomcat I get the error: enter image description here

Has anybody encountered that?

P.S. On the contrary, the command mvn tomcat7:deploy works.

도움이 되었습니까?

해결책

Problem was resolved by adding def warName = configureWarName() to Tomcat.groovy

...
switch (cmd) {
        case 'deploy':
            war()
            def warName = configureWarName()
            println "Deploying application $serverContextPath to Tomcat"
            deploy(war: warName, url: url, path: serverContextPath, username: user, password: pass)
            break
....
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top