error when compiling a file
Hello;
i try to compile a .java class but i get this error:
the method ajs$postclinit() is undefined for this class
this is the source code:
Code:
/* */ package com.vidal.merlin.dateofkill;
/* */
/* */ import com.vidal.merlin.utils.dateofkill.DateOfKillException;
/* */ import com.vidal.merlin.utils.dateofkill.DateOfKillStatus;
/* */ import com.vidal.merlin.utils.productline.licencing.LicenceManager;
/* */ import com.vidal.merlin.utils.productline.licencing.LicenceManagerFactory;
/* */ import java.util.ResourceBundle;
/* */ import org.apache.commons.logging.Log;
/* */ import org.apache.commons.logging.LogFactory;
/* */ import org.aspectj.lang.NoAspectBoundException;
/* */ import org.aspectj.lang.ProceedingJoinPoint;
/* */ import org.aspectj.lang.annotation.Around;
/* */ import org.aspectj.lang.annotation.Aspect;
/* */ import org.springframework.stereotype.Component;
/* */
/* */ @Aspect
/* */ @Component("businessDateOfKillManager")
/* */ public class BusinessDateOfKillManager
/* */ {
/* 23 */ private static final Log LOG = LogFactory.getLog(BusinessDateOfKillManager.class);
/* 24 */ private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("com.vidal.merlin.dateofkill.DateOfKillManager");
/* */
/* */ static
/* */ {
/* */ try
/* */ {
/* 22 */ ajc$postClinit(); } catch (Throwable localThrowable) { ajc$initFailureCause = localThrowable;
/* */ }
/* */ }
/* */
/* */ @Around(value="bo() && target(callee)", argNames="pjp, callee")
/* */ public Object around(ProceedingJoinPoint pjp, Object callee)
/* */ throws Throwable
/* */ {
/* 32 */ ajc$inlineAccessFieldGet$com_vidal_merlin_dateofkill_BusinessDateOfKillManager$com_vidal_merlin_dateofkill_BusinessDateOfKillManager$LOG().debug("Starting analysis of dateOfKill policy");
/* 33 */ DateOfKillStatus status = LicenceManagerFactory.getInstance().checkDateOfKillStatus();
/* 34 */ if (status == DateOfKillStatus.KO) {
/* 35 */ ajc$inlineAccessFieldGet$com_vidal_merlin_dateofkill_BusinessDateOfKillManager$com_vidal_merlin_dateofkill_BusinessDateOfKillManager$LOG().info("Date of kill passed in Bo");
/* 36 */ throw new DateOfKillException(ajc$inlineAccessFieldGet$com_vidal_merlin_dateofkill_BusinessDateOfKillManager$com_vidal_merlin_dateofkill_BusinessDateOfKillManager$BUNDLE().getString("dateOfKill.exception.msg"));
/* */ }
/* 38 */ ajc$inlineAccessFieldGet$com_vidal_merlin_dateofkill_BusinessDateOfKillManager$com_vidal_merlin_dateofkill_BusinessDateOfKillManager$LOG().debug("Date of kill OK...");
/* 39 */ return pjp.proceed();
/* */ }
/* */
/* */ public static BusinessDateOfKillManager aspectOf()
/* */ {
/* 1 */ if (ajc$perSingletonInstance == null) throw new NoAspectBoundException("com.vidal.merlin.dateofkill.BusinessDateOfKillManager", ajc$initFailureCause); return ajc$perSingletonInstance; }
/* 1 */ public static boolean hasAspect() { return ajc$perSingletonInstance != null;
/* */ }
/* */ }
/* Location: C:\Documents and Settings\DELL\My Documents\Downloads\merlin-business.jar
* Qualified Name: com.vidal.merlin.dateofkill.BusinessDateOfKillManager
* JD-Core Version: 0.6.0
*/
please help
Re: error when compiling a file
You are working with the output of a decompiler. It doesn't do a good job with inner classes (the $)
You need to go to the author of the program and ask for the source.