java - org.springframework.beans.FatalBeanException -


applicationContext-service.xml

  & lt; बीन आईडी = "टास्क AllOverService" scope = "singleton" class = "टास्क सभी सर्वर सेवा" / & gt; & Lt; bean id = "taskAllOverStateCodeService" स्कोप = "सिंगलटन" वर्ग = "टास्कऑलस्टेट कोड सेवा" / & gt; सार्वजनिक कक्षा टास्क AllOverService {संरक्षित पूर्णांक आईडी; सार्वजनिक पूर्णांक getTaskId () {return taskId; } सार्वजनिक शून्य सेटटैस्कआईडी (पूर्णांक कार्य आईडी) {this.taskId = taskId; }} सार्वजनिक वर्ग कार्यअनुक्रमणिकास्टेटकोडसेवायर टास्क AllOverService {public list find () {.......}}   

प्रारंभिक स्प्रिंग रूट वेबपपरिटकेशन बहुत लंबा समय है, और रिपोर्ट त्रुटि: [ERROR] प्रसंग आरंभ करने में विफल java.lang.NoClassDefFound त्रुटि: org.springframework.beans.FatalBeanException मुझे क्या करना चाहिए? आपकी मदद की सराहना!

मुझे लगता है कि आप अपने वसंत संदर्भ पर वसंत-बीन्स स्कीमा को शामिल नहीं करते हैं Xml फ़ाइल शायद आप बस वसंत-संदर्भ स्कीमा को शामिल करते हैं

मुझे यकीन नहीं है कि आपको और क्या ज़रूरत है, लेकिन अगर आपको वसंत के संस्करण 3.x पर वसंत-बीन्स और स्प्रिंग-संदर्भ की ज़रूरत है तो वसंत संदर्भ नीचे की तरह होगा < / p>

  & lt; सेम xmlns = "http://www.springframework.org/schema/beans" xmlns: संदर्भ = "http://www.springframework.org/schema/context" xsi: स्कीमा स्थान = "http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http: //www.springframework.org/schema/context/spring-context.xsd">    

Comments

Post a Comment

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -