I was struggling finding a nice solution for plott...
# science
b
I was struggling finding a nice solution for plotting
a
Please do provide a feedback. We've migrated only tiny portion of plotly functionality, but we will add it quickly on demand.
b
Exception in thread "main" java.lang.NoClassDefFoundError: scientifik/plotly/Plotly at DynamicServerKt.main(dynamicServer.kt:24) at DynamicServerKt.main(dynamicServer.kt) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at com.intellij.rt.execution.application.AppMainV2.main(AppMainV2.java:131) Caused by: java.lang.ClassNotFoundException: scientifik.plotly.Plotly at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 7 more
that's my first feedback
freshly imported in intellij (java 12)
a
Oh, wow, it seems to be some kind o classpath error, not actually a code error. Could you please open an issue? Maybe it is somehow related to Java 12. It is night here, so I will look at it tomorrow
It seems like it is a Gradle problem. You can try Dev branch. Examples are made standalone there
b
I just reran it and it works
really weird
the only thing I did was run static
a
For some reason main project was not compiled. Maybe you used idea build without resync.
b
I thought it would do it by itself
I'll try to integrate that in my project see what happen
oh wow you are building with an eap version of kotlin
a
Just remember to use bintray reference and all repositories.
b
yeah I'm not sure I am doing that right
a
We have to. There was a plugin bug in the older one.
You can use build config from examples in Dev branch.
I think I've add all instructions in the readme, but I am not sure. Sadly, we have to write all of the repositories. Gradle does not allow to include them in dependency.
b
yeah that works using what is in the example
I got my first plots