में परिवर्तित मैवेन प्रोजेक्ट में त्रुटि मैं m2e प्लगइन के साथ एक्लिप्स जूनो का उपयोग कर रहा हूं। मैंने अपने जावा प्रोजेक्ट को एक्लेप्सेग्रहण
प्रोजेक्ट> राइटो मेनू कॉन्फ़िगरेशन> मैवेन प्रोजेक्ट में कनवर्ट करें पर राइट क्लिक करें।
Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler- plugin:2.3.2:compile (execution: default-compile, phase: compile) - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler- plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile) - CoreException: Could not get the value for parameter compilerId for plugin execution default- compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.codehaus.plexus:plexus-compiler-manager:jar:1.8.1, org.codehaus.plexus:plexus-compiler-javac:jar:1.8.1: Failure to transfer org.codehaus.plexus:plexus-compiler-manager:jar:1.8.1 from http://repo.maven.apache.org/ maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus-compiler- manager:jar:1.8.1 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http:// repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.8.1/plexus-compiler- manager-1.8.1.jar - CoreException: Could not get the value for parameter compilerId for plugin execution default- testCompile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.codehaus.plexus:plexus-compiler-manager:jar:1.8.1, org.codehaus.plexus:plexus-compiler-javac:jar:1.8.1: Failure to transfer org.codehaus.plexus:plexus-compiler-manager:jar:1.8.1 from http://repo.maven.apache.org/ maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus-compiler- manager:jar:1.8.1 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http:// repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.8.1/plexus-compiler- manager-1.8.1.jar
कैसे इस समस्या को हल करने के लिए:
और इन त्रुटियों कर रहे हैं? कृपया मदद करें।
नेटवर्क समस्या की तरह लगता है क्योंकि आपके लॉग कहते हैं कि प्लेक्सस-कंपाइलर-मैनेजर-1.8.1.jar नेटवर्क टाइमआउट के कारण डाउनलोड करने में विफल रहा। एक वेनिला मेवेन प्रोजेक्ट सेटअप बनाने का प्रयास करें और यह सुनिश्चित करें कि काम करता है और फिर इस प्रोजेक्ट पर पुनः प्रयास करें। एक ग्रहण पुनरारंभ करें और वेनिला परियोजना काम करने के बाद पूर्ण परियोजना ताज़ा करें। –
ग्रहण, मेवेन, एम 2 ई और जीडब्ल्यूटी के साथ शुरू होने वाले शुरुआती लोगों के लिए सभी चीजों पर रैंप करना मुश्किल होगा। आप इसके बजाय जीडब्ल्यूटी मेवेन नमूना प्रोजेक्ट से शुरू कर सकते हैं और इसे "आयात" -> "मौजूदा मेवेन प्रोजेक्ट" का उपयोग करके ग्रहण में आयात कर सकते हैं। यहां से डाउनलोड करने में जीडब्ल्यूटी के नमूने फ़ोल्डर -> http://google-web-toolkit.googlecode.com/files/gwt-2.5.0.zip – SSR
मैंने देखा है कि आपके स्क्रीनशॉट में "सेलेनियम" है। क्या आप वाकई इसे जीडब्ल्यूटी के साथ टैग करने की ज़रूरत है? – SSR