Skip to content
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

elytron-tool.sh filesystem-realm gives NoClassDefFoundError ArrayUtils #179

Open
bvfalcon opened this issue Jul 23, 2021 · 3 comments
Open

Comments

@bvfalcon
Copy link

Bug description:
Command from Elytron Manual

$JBOSS_HOME/bin/elytron-tool.sh filesystem-realm -u conf/users.properties -r conf/roles.properties --output-location realms/example --summary -f example-fs-realm

gives an Error:

`
elytron-tool.bat filesystem-realm -u c:....\sampleapp-users.properties -r c:....\sampleapp-roles.properties --output-location c:...\output --summary -f example-fs-realm

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang3/ArrayUtils
at org.wildfly.security.tool.FileSystemRealmCommand.createFileSystemRealm(FileSystemRealmCommand.java:585)
at org.wildfly.security.tool.FileSystemRealmCommand.execute(FileSystemRealmCommand.java:276)
at org.wildfly.security.tool.ElytronTool.main(ElytronTool.java:84)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.ArrayUtils
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 3 more
`

Environment: Wildfly 22.0.1.Final

@fjuma
Copy link
Contributor

fjuma commented Jul 26, 2021

Thanks for the PR, @bvfalcon. The code for the WildFly Elytron Tool has actually been moved to the WildFly Elytron repo (see the tool directory) and issues are tracked using https://issues.redhat.com/projects/ELY.

@bvfalcon
Copy link
Author

@fjuma then can you mark this project as "archived" and move this fix in correct repo?

@bvfalcon
Copy link
Author

wildfly-security/wildfly-elytron#1560 - I make duplicate.
Close please this repository as ARCHIVED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants