I've opened a new project. Downloaded RestService and the new CommunityCommons.
I've created a microflow to call a restful service.
When I run the project I get the following error.
Since it's a new project I've checked and don't need to complete the deployment steps on creative commons (https://forum.mendixcloud.com/link/questions/86414)
I've also tried to restart and Clean Deployment Directory. All results in the same errors.
Are there outside libs I need to import in version 7.*.*?
compile:
[javac] Compiling 234 source files to C:\ProjectsMendix\Mandrill-main\deployment\run\bin
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\publish\DataService.java:9: error: package org.apache.commons.httpclient does not exist
[javac] import org.apache.commons.httpclient.HttpStatus;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\publish\RestPublishException.java:3: error: package org.apache.commons.httpclient does not exist
[javac] import org.apache.commons.httpclient.HttpStatus;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\publish\RestServiceHandler.java:18: error: package org.apache.commons.httpclient does not exist
[javac] import org.apache.commons.httpclient.HttpStatus;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\publish\RestServiceRequest.java:13: error: package org.apache.commons.httpclient does not exist
[javac] import org.apache.commons.httpclient.HttpStatus;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\ChangeLogListener.java:22: error: package org.apache.commons.httpclient does not exist
[javac] import org.apache.commons.httpclient.HttpException;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\ChangeLogListener.java:23: error: package org.apache.commons.httpclient.methods does not exist
[javac] import org.apache.commons.httpclient.methods.GetMethod;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\ChangeLogListener.java:54: error: cannot find symbol
[javac] private volatile GetMethod currentRequest;
[javac] ^
[javac] symbol: class GetMethod
[javac] location: class ChangeLogListener
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\ChangeLogListener.java:113: error: cannot find symbol
[javac] HttpException {
[javac] ^
[javac] symbol: class HttpException
[javac] location: class ChangeLogListener
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\ChangeLogListener.java:220: error: cannot find symbol
[javac] final String deleteMicroflow, final long timeout) throws HttpException, IOException, Exception {
[javac] ^
[javac] symbol: class HttpException
[javac] location: class ChangeLogListener
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:17: error: package org.apache.commons.httpclient does not exist
[javac] import org.apache.commons.httpclient.*;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:18: error: package org.apache.commons.httpclient.auth does not exist
[javac] import org.apache.commons.httpclient.auth.AuthPolicy;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:19: error: package org.apache.commons.httpclient.auth does not exist
[javac] import org.apache.commons.httpclient.auth.AuthScope;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:20: error: package org.apache.commons.httpclient.cookie does not exist
[javac] import org.apache.commons.httpclient.cookie.CookiePolicy;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:21: error: package org.apache.commons.httpclient.cookie does not exist
[javac] import org.apache.commons.httpclient.cookie.CookieSpec;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:22: error: package org.apache.commons.httpclient.methods does not exist
[javac] import org.apache.commons.httpclient.methods.DeleteMethod;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:23: error: package org.apache.commons.httpclient.methods does not exist
[javac] import org.apache.commons.httpclient.methods.GetMethod;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:24: error: package org.apache.commons.httpclient.methods does not exist
[javac] import org.apache.commons.httpclient.methods.InputStreamRequestEntity;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:25: error: package org.apache.commons.httpclient.methods does not exist
[javac] import org.apache.commons.httpclient.methods.PostMethod;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:26: error: package org.apache.commons.httpclient.methods does not exist
[javac] import org.apache.commons.httpclient.methods.PutMethod;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:27: error: package org.apache.commons.httpclient.methods does not exist
[javac] import org.apache.commons.httpclient.methods.RequestEntity;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:28: error: package org.apache.commons.httpclient.methods does not exist
[javac] import org.apache.commons.httpclient.methods.StringRequestEntity;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:29: error: package org.apache.commons.httpclient.methods.multipart does not exist
[javac] import org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:30: error: package org.apache.commons.httpclient.methods.multipart does not exist
[javac] import org.apache.commons.httpclient.methods.multipart.FilePart;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:31: error: package org.apache.commons.httpclient.methods.multipart does not exist
[javac] import org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:32: error: package org.apache.commons.httpclient.methods.multipart does not exist
[javac] import org.apache.commons.httpclient.methods.multipart.Part;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:33: error: package org.apache.commons.httpclient.methods.multipart does not exist
[javac] import org.apache.commons.httpclient.methods.multipart.StringPart;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:34: error: package org.apache.commons.httpclient.params does not exist
[javac] import org.apache.commons.httpclient.params.HttpMethodParams;
[javac] ^
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:71: error: cannot find symbol
[javac] private static MultiThreadedHttpConnectionManager connectionManager = new MultiThreadedHttpConnectionManager();
[javac] ^
[javac] symbol: class MultiThreadedHttpConnectionManager
[javac] location: class RestConsumer
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:72: error: cannot find symbol
[javac] static HttpClient client = new HttpClient(connectionManager);
[javac] ^
[javac] symbol: class HttpClient
[javac] location: class RestConsumer
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:213: error: cannot find symbol
[javac] static void includeHeaders(HttpMethodBase request) {
[javac] ^
[javac] symbol: class HttpMethodBase
[javac] location: class RestConsumer
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:219: error: cannot find symbol
[javac] static void includeHeaders(HttpMethodBase request, Map<String, String> headers) {
[javac] ^
[javac] symbol: class HttpMethodBase
[javac] location: class RestConsumer
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:232: error: cannot find symbol
[javac] Map<String, String> params, RequestEntity requestEntity, Predicate<InputStream> onSuccess) throws HttpException, IOException {
[javac] ^
[javac] symbol: class RequestEntity
[javac] location: class RestConsumer
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:232: error: cannot find symbol
[javac] Map<String, String> params, RequestEntity requestEntity, Predicate<InputStream> onSuccess) throws HttpException, IOException {
[javac] ^
[javac] symbol: class HttpException
[javac] location: class RestConsumer
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:302: error: cannot find symbol
[javac] private static NameValuePair[] mapToNameValuePairs(Map<String, String> params) {
[javac] ^
[javac] symbol: class NameValuePair
[javac] location: class RestConsumer
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:568: error: cannot find symbol
[javac] private static RequestEntity buildMultiPartEntity(final IContext context,
[javac] ^
[javac] symbol: class RequestEntity
[javac] location: class RestConsumer
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:621: error: cannot find symbol
[javac] final IMendixObject source, List<Part> parts) throws IOException {
[javac] ^
[javac] symbol: class Part
[javac] location: class RestConsumer
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:84: error: cannot find symbol
[javac] private Header[] headers;
[javac] ^
[javac] symbol: class Header
[javac] location: class HttpResponseData
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\consume\RestConsumer.java:86: error: cannot find symbol
[javac] HttpResponseData(String method, String url, int status, String eTag, Header[] headers) {
[javac] ^
[javac] symbol: class Header
[javac] location: class HttpResponseData
[javac] C:\ProjectsMendix\Mandrill-main\javasource\restservices\publish\ServiceDescriber.java:3: error: package org.apache.commons.httpclient does not exist
[javac] import org.apache.commons.httpclient.HttpStatus;
... etc
BUILD FAILED
C:\ProjectsMendix\Mandrill-main\deployment\build_core.xml:25: Compile failed; see the compiler error output for details.
Total time: 11 seconds