When I run it locally, I get an error

0
An app (LearnNow Training Management) developed with Windows 11 Studio pro 10.13.0 can be "Run Localy" -> "View App" on Windows 11, but when the same app is run on Studio pro 10.13.0 on Windows server 2022, an error occurs on "Run Localy".   Exception in thread "main" java.lang.NoClassDefFoundError: scala/UninitializedFieldError        at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)        at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3549)        at java.base/java.lang.Class.getConstructor0(Class.java:3754)        at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2930)        at com.mendix.container.componentregistry.ComponentSupport.createInstance$1(ComponentSupport.scala:14)        at com.mendix.container.componentregistry.ComponentSupport.createComponentForClass(ComponentSupport.scala:32)        at com.mendix.container.componentregistry.ComponentSupport.createComponentForClass$(ComponentSupport.scala:8)        at com.mendix.container.eventing.Eventing$.createComponentForClass(Eventing.scala:13)        at com.mendix.container.eventing.Eventing$.createEventProcessor(Eventing.scala:16)        at com.mendix.container.componentregistry.ComponentRegistry$.$anonfun$run$1(ComponentRegistry.scala:16)      at scala.util.Either.map(Either.scala:382)        at com.mendix.container.componentregistry.ComponentRegistry$.run(ComponentRegistry.scala:14)        at com.mendix.container.boot.Container$.doStart(Container.scala:109)        at com.mendix.container.boot.Container$.doStart(Container.scala:92)        at com.mendix.container.boot.Container$.$anonfun$startAndWaitForever$2(Container.scala:69)        at scala.util.Either.flatMap(Either.scala:352)        at com.mendix.container.boot.Container$.$anonfun$startAndWaitForever$1(Container.scala:68)        at com.mendix.container.boot.Container$.time(Container.scala:148)        at com.mendix.container.boot.Container$.startAndWaitForever(Container.scala:68)        at com.mendix.container.boot.Main$.$anonfun$new$2(Main.scala:15)        at scala.util.Either.flatMap(Either.scala:352)        at com.mendix.container.boot.Main$.delayedEndpoint$com$mendix$container$boot$Main$1(Main.scala:14)        at com.mendix.container.boot.Main$delayedInit$body.apply(Main.scala:11)        at scala.Function0.apply$mcV$sp(Function0.scala:42)        at scala.Function0.apply$mcV$sp$(Function0.scala:42)        at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)        at scala.App.$anonfun$main$1(App.scala:98)    at scala.App.$anonfun$main$1$adapted(App.scala:98)        at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:576)        at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:574)        at scala.collection.AbstractIterable.foreach(Iterable.scala:933)        at scala.App.main(App.scala:98)        at scala.App.main$(App.scala:96)        at com.mendix.container.boot.Main$.main(Main.scala:11)        at com.mendix.container.boot.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: scala.UninitializedFieldError        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)     ... 35 more
asked
1 answers
1

From the documentation I see that studio pro is not supported on windows server: https://docs.mendix.com/refguide/system-requirements/

The server version can run on windows server, but you'll need to install the mendix service console for that, see https://marketplace.mendix.com/link/component/223425

answered