cancel
Showing results for 
Search instead for 
Did you mean: 

Compilation error for TableSorter.java

Sreejith1
Contributor
0 Kudos

Hi Guru's

I am trying to implement sorting in webdynpro java table. It is not giving error initially. I was able to run the program by clicking application.

But when i tried to compile the project, it is giving error.

I have given the error log below. In one SDN forum some one told he fixed by updating the library. but i dont have any idea about this.

Compiling 125 source files to /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/classes

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/CurrAsseByCustView.java:23: package com.sap.proj.util does not exist

     [javac] ERROR: import com.sap.proj.util.TableSorter;

     [javac] ERROR:                            ^

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/wdp/IPrivateCurrAsseByCustView.java:326: package com.sap.proj.util does not exist

     [javac] ERROR:     private com.sap.proj.util.TableSorter _tableSorter;

     [javac] ERROR:                                ^

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/wdp/IPrivateCurrAsseByCustView.java:331: package com.sap.proj.util does not exist

     [javac] ERROR:     public com.sap.proj.util.TableSorter getTableSorter() {

     [javac] ERROR:                               ^

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/wdp/IPrivateCurrAsseByCustView.java:339: package com.sap.proj.util does not exist

     [javac] ERROR:     public void setTableSorter(com.sap.proj.util.TableSorter value) {

     [javac] ERROR:                                                   ^

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/SeriNumByAsseView.java:20: package com.sap.proj.util does not exist

     [javac] ERROR: import com.sap.proj.util.TableSorter;

     [javac] ERROR:                            ^

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/wdp/IPrivateSeriNumByAsseView.java:376: package com.sap.proj.util does not exist

     [javac] ERROR:     private com.sap.proj.util.TableSorter _tableSorter;

     [javac] ERROR:                                ^

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/wdp/IPrivateSeriNumByAsseView.java:381: package com.sap.proj.util does not exist

     [javac] ERROR:     public com.sap.proj.util.TableSorter getTableSorter() {

     [javac] ERROR:                               ^

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/wdp/IPrivateSeriNumByAsseView.java:389: package com.sap.proj.util does not exist

     [javac] ERROR:     public void setTableSorter(com.sap.proj.util.TableSorter value) {

     [javac] ERROR:                                                   ^

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/CurrAsseByCustView.java:162: cannot resolve symbol

     [javac] ERROR: symbol  : class TableSorter

     [javac] ERROR: location: class com.sap.proj.cismes.bhrep.view.CurrAsseByCustView

     [javac] ERROR:               wdContext.currentContextElement().setTableSorter(new TableSorter(table,wdThis.wdGetDoSortAction(),null));

     [javac] ERROR:                                                              ^

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/wdp/IPrivateCurrAsseByCustView.java:372: package com.sap.proj.util does not exist

     [javac] ERROR:           this._tableSorter = (com.sap.proj.util.TableSorter)value;

     [javac] ERROR:                                                   ^

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/SeriNumByAsseView.java:159: cannot resolve symbol

     [javac] ERROR: symbol  : class TableSorter

     [javac] ERROR: location: class com.sap.proj.cismes.bhrep.view.SeriNumByAsseView

     [javac] ERROR:                     wdContext.currentContextElement().setTableSorter(new TableSorter(table,wdThis.wdGetSortAction(),null));

     [javac] ERROR:                                                                      ^

     [javac] ERROR: /usr/sap/NDI/JC00/j2ee/cluster/server0/temp/CBS/a3/.B/328951/t/27B78A5D4A3A11A97CBACF014FD44987/gen_wdp/packages/com/sap/proj/cismes/bhrep/view/wdp/IPrivateSeriNumByAsseView.java:439: package com.sap.proj.util does not exist

     [javac] ERROR:           this._tableSorter = (com.sap.proj.util.TableSorter)value;

     [javac] ERROR:                                                   ^

     [javac] WARNING: Note: Some input files use or override a deprecated API.

     [javac] WARNING: Note: Recompile with -deprecation for details.

     [javac] 12 errors

Thanks in advance,

Ram

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

where you put the tablesorter class?

you have to check in it.

Sreejith1
Contributor
0 Kudos

Hi Wu,

I have put the file in the below folder:

_comp\src\packages\com\sap\proj\utils\TableSorter.java

junwu
Active Contributor
0 Kudos

from dtr perspective, check if it is checked in.

Sreejith1
Contributor
0 Kudos

Thanks Wu,

I think the probelm solved. You are right

Answers (0)