0
我是新來的maven。當我嘗試構建我的項目,其中彈簧注射,即時獲取以下錯誤:春季注入Maven
Rule:InstanceVariableThreadSafety Priority:1 A class extending RequestHandler
or Action or SessionBean contains instance variables. It may not be Threadsafe.
The code should be reviewed and validated by the application team Tech Lead..
請幫我解決這個問題。
謝謝。
請發佈整個堆棧跟蹤 –
這看起來像一個自定義檢查由PMD或Checkstyle或其他工具完成。你可能應該做什麼消息說,請諮詢您的技術主管:) – abalogh
我同意abalogh,按照說,並有技術主管審查代碼:) – fmucar