मैं अपने आवेदन के लिए gwt परीक्षण चल रहा हूँ पर sample.gwt.xml खोजने में असमर्थ है, यह एक बुरा सपना की तरह है, समस्या एक के बाद एक, यकीन है कि क्या गलत हो रहा नहीं मिला है।gwt परीक्षण: अपने classpath
public class ListItemTest extends GWTTestCase {
/**
* Specifies a module to use when running this test case. The returned
* module must include the source for this class.
*
* @see com.google.gwt.junit.client.GWTTestCase#getModuleName()
*/
@Override
public String getModuleName() {
return "com.dyihi.services.sample.Sample";
}
/**
* Add as many tests as you like
*/
public void testSimple() {
assertTrue(true);
}
}
जब मैं 'mvn परीक्षण' भाग गया यह साधारण परीक्षण विफल रहा:
पहले, मैं एक डमी परीक्षण का मामला बनाया। त्रुटि संदेश है:
:
[ERROR] Unable to find 'Sample.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
initializationError0
java.lang.NoClassDefFoundError: com/google/gwt/dev/cfg/Condition
मैं आसपास googled और पता चला कि मैं अपने पोम में gwt-देव शामिल करने की जरूरत है, और मुझे लगता है कि, फिर से परीक्षण भाग गया था, अब यह त्रुटि फेंक दिया ग्रहण में Run Configurations
तहत