package <%=packageName%>.cucumber.stepdefs;

import <%=packageName%>.Application;

import org.springframework.boot.test.SpringApplicationContextLoader;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.test.web.servlet.ResultActions;

import <%=packageName%>.<%= mainClass %>;

@WebAppConfiguration
@ContextConfiguration(classes = <%= mainClass %>.class, loader = SpringApplicationContextLoader.class)
public abstract class StepDefs {

    protected ResultActions actions;

}

@@ -62,27 +62,32 @@
 eName%25%3E.
-Application
+%3C%25= mainClass %25%3E
 ;%0A%0Aimpor
@@ -341,51 +341,8 @@
 s;%0A%0A
-import %3C%25=packageName%25%3E.%3C%25= mainClass %25%3E;%0A%0A
 @Web

Fix cucumber compilation error