在CakePHP 3.x供應商文件夾中,Eclipse使許多可能出錯的行(儘管在我看來沒有任何錯誤)CakePHP 3.x供應商文件夾中的Eclipse錯誤
namespace <%= $namespace %>\Controller<%= $prefix %>;
範例錯誤消息如下:
Multiple annotations found at this line
- syntax error unexpected "%="
- syntax error unexpected "<"
我怎樣才能關閉錯誤?我已經在Properties/Interpreter中打開了「使用短標籤」(沒有幫助)。
可能的選項[如何排除在Eclipse項目中產生警告/錯誤的文件夾?](http://stackoverflow.com/questions/3736208/how-to-exclude-a-folder-that-is-producing-warnings -errors-in-an-eclipse-project) – ndm
我不認爲這是重複的 - 這是談論Java源文件夾,而不是驗證錯誤 – AlBlue
我不認爲它是重複。 – Annabelle