+ Start a Discussion
AidenAiden 

Warning message presented, even for new and empty apex class definitions

The following warning is frequently shown to me regardless of the file I'm looking at;

Warning: The element type "param" should be terminated by the matching end-tag "". at line 82

 

I get this, even where there is no content in the current file. For example, I went to create a new APEX class, and this warning is presented with the empty class in the Apex Class Edit dialog. As such, its surprising to me that I see the error without a reference to the offending code file. Any ideas on what this warning is, and how best to track it down?

Best Answer chosen by Admin (Salesforce Developers) 
paul-lmipaul-lmi

you have an errant visualforce page in your editor somewhere.  this error isn't apex, it's vf.  the IDE isn't too intelligent about showing file-specific errors in the console, it shows them all, until either deleted or resolved.

All Answers

paul-lmipaul-lmi

you have an errant visualforce page in your editor somewhere.  this error isn't apex, it's vf.  the IDE isn't too intelligent about showing file-specific errors in the console, it shows them all, until either deleted or resolved.

This was selected as the best answer
AidenAiden

great, thanks Paul!