New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to See Home Page with HTML Template #1
Comments
what's the exception? |
Sorry, @ANierbeck addded the Exception. As the Class thats missing is in a package named "internal" i was thinking that this probably could be related?? |
java.lang.ClassNotFoundException: com.vaadin.flow.internal.StateNode |
Yes, I agree but... it is imported as maven dependency (scope provided). |
take a look at your generated manifest, if it's not listed in the import-package part you'll need to add it, as it most likely is a dependency not visible to the bnd plugin And maven dependency doesn't necessarely means it's imported ;) |
@ANierbeck I checked now everything and it seems that the Issue seems to be unrelated to OSGi classloading. Vaadin uses ByteBuddy somewhere and creates a Proxy somewhere and calls this line from ByteBuddy:
which lets it use the System Classloader for the creation which, in an OSGi Env is... something weird : / |
I also started a discussion in the Vaadin Forum https://vaadin.com/forum/thread/18035562 |
This is likely a Vaadin Bug, so I opened an Issue there vaadin/flow#7377 (with some more details). |
Reproduce Issue
bundle:install -s mvn:org.pragmaticminds.plc4x/main-view/1.0.0-SNAPSHOT
You can see that it works in other cases by installing the feature
vaadin-demo
which wires a page on localhost:8181 that works.Edit: Added Exception
The text was updated successfully, but these errors were encountered: