1

Currently I'm working with EJB services running on Weblogic 12c Server. When I write a JUnit test to call EJB services, an error appears with:

java.lang.NoClassDefFoundError:
weblogic/i18n/logging/MessageLoggerRegistryListener

Anyone knows where is this class from? I googled it but got no result.

3 Answers 3

2

This class can be found in the /wlserver/modules/features/weblogic.server.merged.jar and in the /wlserver/server/lib/wlclient.jar files.

0

Additionally if you are doing this in a maven project, and you're using the Oracle Maven repository, you can use

<dependency>
    <groupId>com.oracle.weblogic</groupId>
    <artifactId>wlclient</artifactId>
    <version>12.1.3-0-0</version>
    <scope>provided</scope>
</dependency>
0

Set WL_HOME in your environment variable correctly:

Variable name: WL_HOME

Variable value: your weblogic 12c installation path like: C:/Oracle/Middleware/Oracle_Home/wlserver/server

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.