I am able to use this plugin successfully using the same setup on a local test server. The config files are completely untouched and default. I could imagine it is an issue regarding my server host (non-dedicated, shared node); however, the plugin was working temporarily on 1.16.1, so I actually have no idea. I hope the below error log may shed some light onto the situation:
27.09 08:52:03 [Server] INFO [HeadsPluginAPI] Enabling HeadsPluginAPI v2.0.9
27.09 08:52:03 [Server] WARN [HeadsPluginAPI] Loaded class kotlin.Metadata from PolyPvP v2.0 which is not a depend, softdepend or loadbefore of this plugin.
27.09 08:52:03 [Server] WARN [HeadsPluginAPI] Loaded class javax.inject.Provider from PerWorldInventory v2.3.2 which is not a depend, softdepend or loadbefore of this plugin.
27.09 08:52:04 [Server] INFO _ _ _ _____ _ _ _____ _____
27.09 08:52:04 [Server] INFO | | | | | | | __ \ | | (_) /\ | __ \|_ _|
27.09 08:52:04 [Server] INFO | |__| | ___ __ _ __| | ___ | |__) || | _ _ __ _ _ _ __ / \ | |__) | | |
27.09 08:52:04 [Server] INFO | __ | / _ \ / _` | / _` |/ __| | ___/ | || | | | / _` || || '_ \ / /\ \ | ___/ | |
27.09 08:52:04 [Server] INFO | | | || __/| (_| || (_| |\__ \ | | | || |_| || (_| || || | | | / ____ \ | | _| |_
27.09 08:52:04 [Server] INFO |_| |_| \___| \__,_| \__,_||___/ |_| |_| \__,_| \__, ||_||_| |_| /_/ \_\|_| |_____|
27.09 08:52:04 [Server] INFO _________________________________________________ __/ | ________________________________
27.09 08:52:04 [Server] INFO |_________________________________________________| |___/ |________________________________|
27.09 08:52:04 [Server] Startup :: HeadsPluginAPI - version 2.0.9 ::
27.09 08:52:04 [Server] INFO [org.springframework.boot.SpringApplication] No active profile set, falling back to default profiles: default
27.09 08:52:04 [Server] WARN [HeadsPluginAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
27.09 08:52:04 [Server] INFO [org.springframework.data.repository.config.RepositoryConfigurationDelegate] Bootstrapping Spring Data JPA repositories in DEFAULT mode.
27.09 08:52:04 [Server] INFO [org.springframework.data.repository.config.RepositoryConfigurationDelegate] Finished Spring Data repository scanning in 125ms. Found 5 JPA repository interfaces.
27.09 08:52:05 [Server] INFO [org.springframework.cloud.context.scope.GenericScope] BeanFactory id=fc412a0a-80bc-380b-817a-c7f59ae0faf4
27.09 08:52:05 [Server] WARN [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
27.09 08:52:05 [Server] INFO [org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener]
27.09 08:52:05 [Server] INFO Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
27.09 08:52:05 [Server] ERROR [org.springframework.boot.SpringApplication] Application run failed
27.09 08:52:05 [Server] INFO org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
27.09 08:52:05 [Server] INFO at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:156) ~[?:?]
27.09 08:52:05 [Server] INFO at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) ~[?:?]
27.09 08:52:05 [Server] INFO at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[?:?]
27.09 08:52:05 [Server] INFO at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) ~[?:?]
27.09 08:52:05 [Server] INFO at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[?:?]
27.09 08:52:05 [Server] INFO at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[?:?]
27.09 08:52:05 [Server] INFO at com.github.cc007.headsplugin.HeadsPlugin.onEnable(HeadsPlugin.java:88) ~[?:?]
27.09 08:52:05 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.3.jar:git-Paper-203]
27.09 08:52:05 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.3.jar:git-Paper-203]
27.09 08:52:05 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.3.jar:git-Paper-203]
27.09 08:52:05 [Server] INFO at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugin(CraftServer.java:501) ~[patched_1.16.3.jar:git-Paper-203]
27.09 08:52:05 [Server] INFO at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugins(CraftServer.java:415) ~[patched_1.16.3.jar:git-Paper-203]
27.09 08:52:05 [Server] INFO at net.minecraft.server.v1_16_R2.MinecraftServer.loadWorld(MinecraftServer.java:468) ~[patched_1.16.3.jar:git-Paper-203]
27.09 08:52:05 [Server] INFO at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:237) ~[patched_1.16.3.jar:git-Paper-203]
27.09 08:52:05 [Server] INFO at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.3.jar:git-Paper-203]
27.09 08:52:05 [Server] INFO at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.3.jar:git-Paper-203]
27.09 08:52:05 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
27.09 08:52:05 [Server] INFO Caused by: org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
27.09 08:52:05 [Server] INFO at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getWebServerFactory(ServletWebServerApplicationContext.java:203) ~[?:?]
27.09 08:52:05 [Server] INFO at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:179) ~[?:?]
27.09 08:52:05 [Server] INFO at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153) ~[?:?]
27.09 08:52:05 [Server] INFO ... 16 more
Preface:
I am able to use this plugin successfully using the same setup on a local test server. The config files are completely untouched and default. I could imagine it is an issue regarding my server host (non-dedicated, shared node); however, the plugin was working temporarily on 1.16.1, so I actually have no idea. I hope the below error log may shed some light onto the situation: