Cannot deploy Spring App to Websphere

后端 未结 7 1709
傲寒
傲寒 2020-12-31 09:28

I\'ve been developing an application to tomcat during development phase. As we\'re moving forward, my client wants to be deployed to websphere. I\'m attempting to do so on

7条回答
  •  庸人自扰
    2020-12-31 10:24

    I had similar issue. The Websphere has some default limit on the number of classes that can be scanned. And this SpringBoot main class was probably not within that range. In my case, the issue was resolved when I set this JVM property -Dclassinfocachesize=10000 (Application servers > server1 > Process definition > Java Virtual Machine> Generic JVM arguments >) and restart WAS

提交回复
热议问题