]> git.mxchange.org Git - jcore.git/commitdiff
Well, if that is EJB, it sucks somehow: Logging not allowed and a complexer class...
authorRoland Haeder <roland@mxchange.org>
Mon, 7 Sep 2015 13:29:44 +0000 (15:29 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 7 Sep 2015 13:29:44 +0000 (15:29 +0200)
----------------------------------------
Caused by: java.lang.NoClassDefFoundError: [Lorg/mxchange/jcore/model/contact/gender/Gender;
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
at java.lang.Class.privateGetPublicMethods(Class.java:2690)
at java.lang.Class.getMethods(Class.java:1467)
at org.glassfish.ejb.deployment.descriptor.EjbDescriptor.addAllInterfaceMethodsIn(EjbDescriptor.java:2577)
at org.glassfish.ejb.deployment.descriptor.EjbDescriptor.getLocalRemoteBusinessMethodDescriptors(EjbDescriptor.java:2530)
... 53 more
Caused by: java.lang.ClassNotFoundException: org.mxchange.jcore.model.contact.gender.Gender
----------------------------------------

Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcore/BaseFrameworkSystem.java
src/org/mxchange/jcore/FrameworkInterface.java

index aed856b59fdee3f0aa5fae3abae3cb8bc9287d6b..4f27ff07fc80e625eaa14546f1bc08a11fe3e211 100644 (file)
@@ -24,8 +24,8 @@ import org.apache.logging.log4j.LogManager;
 import org.apache.logging.log4j.Logger;
 import org.mxchange.jcore.application.Application;
 import org.mxchange.jcore.client.Client;
-import org.mxchange.jcore.model.contact.Contact;
 import org.mxchange.jcore.manager.Manageable;
+import org.mxchange.jcore.model.contact.Contact;
 
 /**
  * General class
@@ -101,8 +101,12 @@ public class BaseFrameworkSystem implements FrameworkInterface {
                return this.application;
        }
 
-       @Override
-       public final Logger getLogger () {
+       /**
+        * Getter for logger instance
+        *
+        * @return Logger instance
+        */
+       protected final Logger getLogger () {
                return this.LOG;
        }
 
index 69f99d8ed2837b2a0307be39ec564cf234c2ff08..efefe2580394f28433b67b14416c8b6ea3dd4117 100644 (file)
@@ -16,7 +16,6 @@
  */
 package org.mxchange.jcore;
 
-import org.apache.logging.log4j.Logger;
 import org.mxchange.jcore.application.Application;
 import org.mxchange.jcore.client.Client;
 import org.mxchange.jcore.manager.Manageable;
@@ -46,13 +45,6 @@ public interface FrameworkInterface {
         */
        public Client getClient ();
 
-       /**
-        * Getter for logger
-        *
-        * @return Logger
-        */
-       public Logger getLogger ();
-
        /**
         * Application instance
         *