-
Notifications
You must be signed in to change notification settings - Fork 102
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
BsfUtils, ClassNotFoundException for Base64 (v0.9.0) #452
Comments
It seems this error slipped through our QA efforts. What does this error mean to you? Is only the tree affected, or is BootsFaces broken altogether on Java 6 and 7? |
For me it's a regression : |
You won't have to migrate anything in production :). I'm sure we'll be able to fix the bug pretty soon, |
I just ran a quick check with the animal sniffer plugin and it didn't find this incompatibility... This somehow bothers me quite a bit, as there doesn't to be a reliant way to find those problems. Well... alteast not without having to manually switch to JDK6 or 7 each time. |
I've just pushed a different version of the code to the developer preview snapshot repository of Maven Central. I believe this doesn't require Java 8. Download coordinates: <dependency>
<groupId>net.bootsfaces</groupId>
<artifactId>bootsfaces</artifactId>
<version>0.9.1-SNAPSHOT</version>
</dependency> |
Hi again, just fyi, Thanks for your reactivity. |
THX! |
Hi,
New version of BsfUtils (v0.9.0) has a dependence with java.util.Base64 which is only in jdk 1.8.
It implies a java.lang.ClassNotFoundException for exemple when rendering a b:tree on a former jdk (1.7):
did i miss something ?
(default task-10) java.lang.NoClassDefFoundError: java/util/Base64
at net.bootsfaces.utils.BsfUtils.toString(BsfUtils.java:551)
at net.bootsfaces.component.tree.model.TreeModelUtils.renderNode(TreeModelUtils.java:186)
at net.bootsfaces.component.tree.model.TreeModelUtils.renderSubnodes(TreeModelUtils.java:209)
at net.bootsfaces.component.tree.model.TreeModelUtils.renderNode(TreeModelUtils.java:182)
at net.bootsfaces.component.tree.model.TreeModelUtils.renderSubnodes(TreeModelUtils.java:209)
at net.bootsfaces.component.tree.model.TreeModelUtils.renderNode(TreeModelUtils.java:182)
at net.bootsfaces.component.tree.model.TreeModelUtils.renderSubnodes(TreeModelUtils.java:209)
at net.bootsfaces.component.tree.model.TreeModelUtils.renderModelAsJson(TreeModelUtils.java:126)
at net.bootsfaces.component.tree.TreeRenderer.encodeEnd(TreeRenderer.java:157)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:920)
...
The text was updated successfully, but these errors were encountered: