java - Change to compiler 1.7 when creating a List produced errors throughout the entire project -


i using eclipse juno , java.

i trying create new list:

list mylist = new arraylist(); 

this had error , resolution on along lines of change compiler 1.7 accepted. errror on list creation line corrected have many errors thoughout whole project on lines working. examples are:

class getaccountandcubshandler<t> implements asynccallback<list<accountandcubs>> 

multiple markers @ line - hierarchy of type getaccountandcubshandler inconsistent - list cannot resolved type

public class accountcreationview extends composite { 

multiple markers @ line - hierarchy of type accountcreationview inconsistent - breakpoint:accountcreationview

@suppresswarnings("unused") private string accountid; 

first line - multiple markers @ line - suppresswarnings cannot resolved type - attribute valie undefined annotation type suppresswarnings

second line - string cannot resolved type

as can imagine having whole project adversely affected in way disconcerting advice on how recover appreciated.

regards,

glyn

"string cannot resolved type"

ensure valid jre or jdk specified in build-path.

since you're using eclipse, right-click on project, propertiesjava build path.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -