Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81216

Java compilation errors after installing the UnitTesting module.

$
0
0

 

Hello,

Using the modeler, and after creating a blank atlas-ui app, then installed "Community Commons Function Library", then "Unit Testing" module, I am getting the following Java compilation errors:

-----------------------------------------------------------------------------------------------------

compile:
    [javac] Compiling 19 source files to C:\test\deployment\run\bin
    [javac] C:\test\javasource\unittesting\RemoteApiServlet.java:20: error: package objecthandling does not exist
    [javac] import objecthandling.XPath;
    [javac]                      ^
    [javac] C:\test\javasource\unittesting\TestManager.java:34: error: package objecthandling does not exist
    [javac] import objecthandling.XPath;
    [javac]                      ^
    [javac] C:\test\javasource\unittesting\RemoteApiServlet.java:169: error: cannot find symbol
    [javac]             for(TestSuite suite : XPath.create(context, TestSuite.class).all()) {
    [javac]                                   ^
    [javac]   symbol:   variable XPath
    [javac]   location: class RemoteApiServlet.TestSuiteRunner
    [javac] C:\test\javasource\unittesting\RemoteApiServlet.java:180: error: cannot find symbol
    [javac]             for(UnitTest test : XPath.create(context, UnitTest.class)
    [javac]                                 ^
    [javac]   symbol:   variable XPath
    [javac]   location: class RemoteApiServlet.TestSuiteRunner
    [javac] C:\test\javasource\unittesting\TestManager.java:188: error: cannot find symbol
    [javac]         for(UnitTest test : XPath.create(context, UnitTest.class).eq(UnitTest.MemberNames.UnitTest_TestSuite, testSuite).all()) {
    [javac]                             ^
    [javac]   symbol:   variable XPath
    [javac]   location: class TestManager
    [javac] C:\test\javasource\unittesting\TestManager.java:380: error: cannot find symbol
    [javac]             res = XPath.create(context, UnitTest.class)
    [javac]                   ^
    [javac]   symbol:   variable XPath
    [javac]   location: class TestManager
    [javac] C:\test\javasource\unittesting\TestManager.java:495: error: cannot find symbol
    [javac]             TestSuite testSuite = XPath.create(context, TestSuite.class).findOrCreate(TestSuite.MemberNames.Module, module);
    [javac]                                   ^
    [javac]   symbol:   variable XPath
    [javac]   location: class TestManager
    [javac] C:\test\javasource\unittesting\TestManager.java:502: error: cannot find symbol
    [javac]         XPath.create(context, TestSuite.class).not().hasReference(UnitTest.MemberNames.UnitTest_TestSuite, UnitTest.entityName).close().deleteAll();
    [javac]         ^
    [javac]   symbol:   variable XPath
    [javac]   location: class TestManager
    [javac] C:\test\javasource\unittesting\TestManager.java:511: error: cannot find symbol
    [javac]             for(UnitTest test : XPath.create(context, UnitTest.class)
    [javac]                                 ^
    [javac]   symbol:   variable XPath
    [javac]   location: class TestManager
    [javac] C:\test\javasource\unittesting\TestManager.java:544: error: cannot find symbol
    [javac]             for(UnitTest test : XPath.create(context, UnitTest.class)
    [javac]                                 ^
    [javac]   symbol:   variable XPath
    [javac]   location: class TestManager
    [javac] C:\test\javasource\unittesting\TestManager.java:553: error: cannot find symbol
    [javac]             testSuite.setTestCount(XPath.create(context, UnitTest.class).eq(UnitTest.MemberNames.UnitTest_TestSuite, testSuite).count());
    [javac]                                    ^
    [javac]   symbol:   variable XPath
    [javac]   location: class TestManager
    [javac] 11 errors

-----------------------------------------------------------------------------------------------------

Note: I am using the Modeler version 7.5.1

 


Viewing all articles
Browse latest Browse all 81216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>