Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

symantic errors

807598Apr 6 2006 — edited Apr 6 2006
Hi ,

I wrote few java programs and from one class iam calling the methods of another class by creating the objects of them..

When iam using the standards checking tool for checking my java code i am getting these errors


program1.java:13:symantic error in
	BindPar objBindPar = new BindPar();
Type BindPar was not found.


program1.java:13:symantic error in
	BindPar objBindPar = new BindPar();
A candidate for type "BindPar" was found, but it is invalid and needs to be fixed before this type will successfully compile.


program1.java:19:symantic error in
	       public void assignRole(String EMPID,String[] RoleName, int index,LogGlobalUser logBean)throws Exception         		           		     
Type LogGlobalUser was not found.


program1.java:27:symantic error in
  		         	this.executeScript(cmdStr,EMPID,logBean); 
No applicable overload for the method named "executeScript" was found in type "assignAppRoleGlobalUser". Perhaps you wanted the overloaded version "void executeScript(java.lang.String[] cmdStr, java.lang.String EMPID, ?? logBean) throws java.lang.Exception;" instead?


program1.java:50:symantic error in
      	            this.executeScript(cmdStr,EMPID,logBean); 
No applicable overload for the method named "executeScript" was found in type "assignAppRoleGlobalUser". Perhaps you wanted the overloaded version "void executeScript(java.lang.String[] cmdStr, java.lang.String EMPID, ?? logBean) throws java.lang.Exception;" instead?
kindly, help me to solve these issues.

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 4 2006
Added on Apr 6 2006
4 comments
128 views