500 Unable to compile class for JSP:
An error occurred at line: 6 in the generated java file
Only a type can be imported. com.ircorp.common.Constants resolves to a package
An error occurred at line: 19 in the jsp file: /apps/trane-commercial/components/content/column-control/column-control.jsp
Constants.WIDTH cannot be resolved to a type
16:
17: <% String columnLayout=properties.get("clayout","2column").substring(0,1);
18: final int columnnum=Integer.parseInt(columnLayout);
19: final int width=properties.get(Constants.WIDTH,500);
20: final int space=properties.get(Constants.SPACE,10);
21: final int actual_width=width-(space*(columnnum-1));
22: final String column_par = "column-par";
An error occurred at line: 20 in the jsp file: /apps/trane-commercial/components/content/column-control/column-control.jsp
Constants.SPACE cannot be resolved to a type
17: <% String columnLayout=properties.get("clayout","2column").substring(0,1);
18: final int columnnum=Integer.parseInt(columnLayout);
19: final int width=properties.get(Constants.WIDTH,500);
20: final int space=properties.get(Constants.SPACE,10);
21: final int actual_width=width-(space*(columnnum-1));
22: final String column_par = "column-par";
23: String divStyle = Constants.EMPTY_STRING;
An error occurred at line: 23 in the jsp file: /apps/trane-commercial/components/content/column-control/column-control.jsp
Constants.EMPTY_STRING cannot be resolved to a type
20: final int space=properties.get(Constants.SPACE,10);
21: final int actual_width=width-(space*(columnnum-1));
22: final String column_par = "column-par";
23: String divStyle = Constants.EMPTY_STRING;
24: final String columnNumber = "l"+columnnum;
25: String defaultValues = null;
26: float coloumndivision=(float) Constants.ONE /columnnum ;
An error occurred at line: 26 in the jsp file: /apps/trane-commercial/components/content/column-control/column-control.jsp
Constants.ONE cannot be resolved to a type
23: String divStyle = Constants.EMPTY_STRING;
24: final String columnNumber = "l"+columnnum;
25: String defaultValues = null;
26: float coloumndivision=(float) Constants.ONE /columnnum ;
27: defaultValues=Float.toString(coloumndivision);
28: String value=defaultValues;
29: for(int count=1;count<columnnum;count++){
An error occurred at line: 33 in the jsp file: /apps/trane-commercial/components/content/column-control/column-control.jsp
Constants.EMPTY_STRING cannot be resolved to a type
30: defaultValues+= ","+value;
31: }
32: Double columnWidth = null;
33: String divId=Constants.EMPTY_STRING;
34: if(defaultValues != null ){
35: String layout=properties.get(columnNumber ,defaultValues);
36: String layoutArray[]=layout.split(",");
Unable to compile class for JSP:
An error occurred at line: 6 in the generated java file
Only a type can be imported. com.ircorp.common.Constants resolves to a package
An error occurred at line: 19 in the jsp file: /apps/trane-commercial/components/content/column-control/column-control.jsp
Constants.WIDTH cannot be resolved to a type
16:
17: <% String columnLayout=properties.get("clayout","2column").substring(0,1);
18: final int columnnum=Integer.parseInt(columnLayout);
19: final int width=properties.get(Constants.WIDTH,500);
20: final int space=properties.get(Constants.SPACE,10);
21: final int actual_width=width-(space*(columnnum-1));
22: final String column_par = "column-par";
An error occurred at line: 20 in the jsp file: /apps/trane-commercial/components/content/column-control/column-control.jsp
Constants.SPACE cannot be resolved to a type
17: <% String columnLayout=properties.get("clayout","2column").substring(0,1);
18: final int columnnum=Integer.parseInt(columnLayout);
19: final int width=properties.get(Constants.WIDTH,500);
20: final int space=properties.get(Constants.SPACE,10);
21: final int actual_width=width-(space*(columnnum-1));
22: final String column_par = "column-par";
23: String divStyle = Constants.EMPTY_STRING;
An error occurred at line: 23 in the jsp file: /apps/trane-commercial/components/content/column-control/column-control.jsp
Constants.EMPTY_STRING cannot be resolved to a type
20: final int space=properties.get(Constants.SPACE,10);
21: final int actual_width=width-(space*(columnnum-1));
22: final String column_par = "column-par";
23: String divStyle = Constants.EMPTY_STRING;
24: final String columnNumber = "l"+columnnum;
25: String defaultValues = null;
26: float coloumndivision=(float) Constants.ONE /columnnum ;
An error occurred at line: 26 in the jsp file: /apps/trane-commercial/components/content/column-control/column-control.jsp
Constants.ONE cannot be resolved to a type
23: String divStyle = Constants.EMPTY_STRING;
24: final String columnNumber = "l"+columnnum;
25: String defaultValues = null;
26: float coloumndivision=(float) Constants.ONE /columnnum ;
27: defaultValues=Float.toString(coloumndivision);
28: String value=defaultValues;
29: for(int count=1;count<columnnum;count++){
An error occurred at line: 33 in the jsp file: /apps/trane-commercial/components/content/column-control/column-control.jsp
Constants.EMPTY_STRING cannot be resolved to a type
30: defaultValues+= ","+value;
31: }
32: Double columnWidth = null;
33: String divId=Constants.EMPTY_STRING;
34: if(defaultValues != null ){
35: String layout=properties.get(columnNumber ,defaultValues);
36: String layoutArray[]=layout.split(",");
Cannot serve request to /content/trane-commercial/asia-pacific/th/th/controls/heating/SolarHeating.html on this server