I get these error while I am going to run my application locally.

Exception in thread "main" java.lang.NoClassDefFoundError: scala/xml/MetaData     at java.base/java.lang.ClassLoader.defineClass1(Native Method)     at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)     at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)     at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:802)     at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:700)
1 answers

So in the cloud your project runs fine? The problem is only local?

Try the Studio Pro menu option Project → Clean deployment directory. Then try to run your project again.

If that does not help then in go to Project → “show project directory in explorer’ and totally delete the directory deployment and run your project again.