trouble deploying .WAR to tomcat

前端 未结 9 2228
滥情空心
滥情空心 2021-02-13 03:36

im having trouble deploying a war file on tomcat.

i have written a webapp in netbeans on my windows machine. it all runs fine. what i want to do is deploy the applicatio

9条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-13 04:01

    the war archive is corrupt or invalid.

    check that the war generation procedure is not failing and that the war file is a valid zip file prior to copying to your pen drive etc.

    if you're on windows you can do this by changing the file extension to .zip and opening with a zip program such as winzip or winrar.

    if you're on another operating system you probably don't need to change the extension.

    if the war is a valid zip it's probably being corrupted as a result of your transfer process ie going onto or from your pen drive.

提交回复
热议问题