# やりたいこと
IntelliJ(2020.2.4)からSpringMVCをデプロイして動作確認
やったこと
このサイト通りのWEBアプリケーションを作成。
tomcat(9.0.0)は公式サイトからzipでダウンロードしC:配下に置きました。
おきたこと
JMXのポートでエラーが起きて起動できない。
#試したこと
netstatを確認してみた。1099のポートは時に何もなかった
cmd
1netstat -nao 2アクティブな接続 3 4 プロトコル ローカル アドレス 外部アドレス 状態 PID 5(略) 6 TCP [::]:135 [::]:0 LISTENING 440 7 TCP [::]:445 [::]:0 LISTENING 4 8 TCP [::]:7680 [::]:0 LISTENING 1992 9 TCP [::]:49664 [::]:0 LISTENING 796 10 TCP [::]:49665 [::]:0 LISTENING 644 11 TCP [::]:49666 [::]:0 LISTENING 1608 12 TCP [::]:49667 [::]:0 LISTENING 1432 13 TCP [::]:49668 [::]:0 LISTENING 2344 14 TCP [::]:49671 [::]:0 LISTENING 788 15 TCP [::]:62444 [::]:0 LISTENING 13376 16 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63019 [2404:6800:4004:81c::2002]:443 ESTABLISHED 8500 17 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63091 [2603:1036:30a:82f::2]:443 ESTABLISHED 3200 18 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63106 [2404:6800:4004:80c::200e]:80 ESTABLISHED 11032 19 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63110 [2404:6800:4004:813::200e]:443 TIME_WAIT 0 20 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63121 [2404:6800:4004:807::2004]:443 ESTABLISHED 8500 21 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63128 [2404:6800:4004:809::2002]:443 ESTABLISHED 8500 22 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63147 [2404:6800:4004:81d::2010]:443 ESTABLISHED 8500 23 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63148 [2404:6800:4004:81d::2010]:443 TIME_WAIT 0 24 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63151 [2404:6800:4004:81d::2010]:443 TIME_WAIT 0 25 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63152 [2404:6800:4004:81d::2010]:443 TIME_WAIT 0 26 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63154 [2404:6800:4004:81a::200e]:443 ESTABLISHED 8500 27 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63156 [2404:6800:4004:80a::2008]:443 ESTABLISHED 8500 28 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63158 [2404:6800:4004:807::2004]:443 TIME_WAIT 0 29 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63159 [2404:6800:4004:807::2004]:443 TIME_WAIT 0 30 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63160 [2404:6800:4004:807::2004]:443 ESTABLISHED 8500 31 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63161 [2404:6800:4004:807::2004]:443 TIME_WAIT 0 32 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:63910 [2404:6800:4008:c06::bc]:5228 ESTABLISHED 6360 33 TCP [2400:2410:341:6a00:500:4bc4:f04f:e814]:64245 [2600:140b:2000:a080::57]:443 CLOSE_WAIT 3096 34 UDP 0.0.0.0:1900 *:* 5576 35 UDP 0.0.0.0:3702 *:* 4084 36 UDP 0.0.0.0:3702 *:* 4084 37 UDP 0.0.0.0:5050 *:* 7164 38 UDP 0.0.0.0:5353 *:* 2552 39 UDP 0.0.0.0:5355 *:* 2552 40 UDP 0.0.0.0:5895 *:* 11316 41 UDP 0.0.0.0:49664 *:* 3496 42 UDP 0.0.0.0:52190 *:* 6360 43 UDP 0.0.0.0:55984 *:* 4084 44 UDP 127.0.0.1:49666 *:* 4180 45 UDP 127.0.0.1:50585 *:* 12144 46 UDP 127.0.0.1:50586 *:* 12144 47 UDP 192.168.3.7:137 *:* 4 48 UDP 192.168.3.7:138 *:* 4 49 UDP 192.168.3.7:5353 *:* 3496 50 UDP [::]:3702 *:* 4084 51 UDP [::]:3702 *:* 4084 52 UDP [::]:5353 *:* 2552 53 UDP [::]:5355 *:* 2552 54 UDP [::]:49665 *:* 3496 55 UDP [::]:52190 *:* 6360 56 UDP [::]:55985 *:* 4084 57 UDP [::1]:5353 *:* 3496
tomee(plus-9.0.00-M3)にしてみた。
->エラー発生して動かない
#追加情報
ディレクトリ
フォルダー パスの一覧: ボリューム Windows ボリューム シリアル番号は ECCA-ACE3 です C:\USERS*****\DOCUMENTS\JAVA\SPRINGMVC\DEMO | pom.xml | SpringMVCDemo.iml | +---.gradle | +---6.5.1 | | | gc.properties | | | | | +---executionHistory | | | executionHistory.lock | | | | | +---fileChanges | | | last-build.bin | | | | | +---fileHashes | | | fileHashes.lock | | | | | \---vcsMetadata-1 | +---buildOutputCleanup | | buildOutputCleanup.lock | | cache.properties | | | +---checksums | | checksums.lock | | | \---vcs-1 | gc.properties | +---.idea | | .gitignore | | .name | | compiler.xml | | encodings.xml | | jarRepositories.xml | | misc.xml | | sbt.xml | | workspace.xml | | | +---artifacts | | SpringMVCDemo_ear_exploded.xml | | | \---codeStyles | codeStyleConfig.xml | Project.xml | +---META-INF | application.xml | +---src | +---main | | +---java | | | \---controller | | | SimpleController.java | | | | | \---resources | \---test | \---java +---target | | SpringMVCDemo-1.0-SNAPSHOT.war | | | +---classes | | \---controller | | SimpleController.class | | | +---generated-sources | | \---annotations | \---SpringMVCDemo-1.0-SNAPSHOT | +---META-INF | | MANIFEST.MF | | | \---WEB-INF | +---classes | | \---controller | | SimpleController.class | | | \---lib | spring-aop-5.2.4.RELEASE.jar | spring-beans-5.2.4.RELEASE.jar | spring-context-5.2.4.RELEASE.jar | spring-core-5.2.4.RELEASE.jar | spring-expression-5.2.4.RELEASE.jar | spring-jcl-5.2.4.RELEASE.jar | spring-web-5.2.4.RELEASE.jar | spring-webmvc-5.2.4.RELEASE.jar | \---WEB-INF | dispatcher-servlet.xml | web.xml | \---views hello.jsp
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。