Hi,
I'm trying the Customizing payment section in the broadleaf tutorials, am getting the following error while compiling,
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project site: Compilation failure
[ERROR] D:\Demo\eclipse-workspace\DemoSite\site\src\main\java\com\mycompany\payment\MyPaymentInfoType.java:[13,5] error: no suitable constructor found for PaymentInfoType(String)
[ERROR] -> [Help 1]
And my code is..
package com.mycompany.payment;
import org.broadleafcommerce.core.payment.service.type.PaymentInfoType;
public class MyPaymentInfoType extends PaymentInfoType {
private static final long serialVersionUID = 1L;
private String type;
private String friendlyType;
public static MyPaymentInfoType EMPLOYEE = new MyPaymentInfoType("EMPLOYEE");
public MyPaymentInfoType(String type) {
super(type);
}
public MyPaymentInfoType() {
//do nothing
}
}
Can anyone tell me the solution for this??
thanks !!!
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.