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

Compilation of Java Actions Failed

$
0
0

**Greetings

I have been running my project locally but today when I tried to run it again, it gave me a Java Compilation Error. I have cleaned my Deployment Directory but and downloaded the Community Commons Module but the error has persisted.

Thank you**

Below is the error I am getting

Buildfile: C:\Users\Collins\Documents\Mendix\Loan Manager-main2\deployment\buildcore.xml

compile: [javac] Compiling 177 source files to C:\Users\Collins\Documents\Mendix\Loan Manager-main2\deployment\run\bin [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\CommonsLoggingListener.java:11: error: package org.apache.commons.logging does not exist [javac] import org.apache.commons.logging.LogConfigurationException; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\CommonsLoggingListener.java:12: error: package org.apache.commons.logging does not exist [javac] import org.apache.commons.logging.LogFactory; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\CommonsLoggingListener.java:52: error: cannot find symbol [javac] throws LogConfigurationException, SecurityException [javac] ^ [javac] symbol: class LogConfigurationException [javac] location: class CommonsLoggingListener [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDUtils.java:6: error: package org.apache.axiom.util.base64 does not exist [javac] import org.apache.axiom.util.base64.Base64Utils; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDUtils.java:7: error: package org.apache.commons.lang does not exist [javac] import org.apache.commons.lang.StringUtils; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:15: error: package org.apache.commons.lang does not exist [javac] import org.apache.commons.lang.StringEscapeUtils; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:16: error: package org.openid4java.association does not exist [javac] import org.openid4java.association.AssociationSessionType; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:17: error: package org.openid4java.consumer does not exist [javac] import org.openid4java.consumer.ConsumerManager; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:18: error: package org.openid4java.consumer does not exist [javac] import org.openid4java.consumer.InMemoryConsumerAssociationStore; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:19: error: package org.openid4java.consumer does not exist [javac] import org.openid4java.consumer.InMemoryNonceVerifier; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:20: error: package org.openid4java.consumer does not exist [javac] import org.openid4java.consumer.VerificationResult; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:21: error: package org.openid4java.discovery does not exist [javac] import org.openid4java.discovery.DiscoveryInformation; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:22: error: package org.openid4java.discovery does not exist [javac] import org.openid4java.discovery.Identifier; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:23: error: package org.openid4java.message does not exist [javac] import org.openid4java.message.AuthRequest; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:24: error: package org.openid4java.message does not exist [javac] import org.openid4java.message.ParameterList; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:99: error: cannot find symbol [javac] private DiscoveryInformation discovered; [javac] ^ [javac] symbol: class DiscoveryInformation [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:101: error: cannot find symbol [javac] private ConsumerManager manager; [javac] ^ [javac] symbol: class ConsumerManager [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:265: error: cannot find symbol [javac] ParameterList openidResp, String mxid2Continuation) throws Exception { [javac] ^ [javac] symbol: class ParameterList [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\actions\GenerateRandomPassword.java:14: error: package org.apache.commons.lang does not exist [javac] import org.apache.commons.lang.RandomStringUtils; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\actions\GenerateRandomPassword.java:15: error: package org.apache.commons.lang.math does not exist [javac] import org.apache.commons.lang.math.RandomUtils; [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\CommonsLoggingListener.java:59: error: package org.apache.commons.logging.impl does not exist [javac] org.apache.commons.logging.impl.Jdk14Logger lognode = (org.apache.commons.logging.impl.Jdk14Logger) LogFactory.getLog(logName); [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\CommonsLoggingListener.java:59: error: package org.apache.commons.logging.impl does not exist [javac] org.apache.commons.logging.impl.Jdk14Logger lognode = (org.apache.commons.logging.impl.Jdk14Logger) LogFactory.getLog(logName); [javac] ^ [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\CommonsLoggingListener.java:59: error: cannot find symbol [javac] org.apache.commons.logging.impl.Jdk14Logger lognode = (org.apache.commons.logging.impl.Jdk14Logger) LogFactory.getLog(logName); [javac] ^ [javac] symbol: variable LogFactory [javac] location: class CommonsLoggingListener [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDUtils.java:26: error: cannot find symbol [javac] return Base64Utils.encode(bytes); [javac] ^ [javac] symbol: variable Base64Utils [javac] location: class OpenIDUtils [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDUtils.java:61: error: cannot find symbol [javac] return StringUtils.rightPad(res, value.length(), '*'); [javac] ^ [javac] symbol: variable StringUtils [javac] location: class OpenIDUtils [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:120: error: cannot find symbol [javac] manager = new ConsumerManager(); [javac] ^ [javac] symbol: class ConsumerManager [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:121: error: cannot find symbol [javac] manager.setAssociations(new InMemoryConsumerAssociationStore()); [javac] ^ [javac] symbol: class InMemoryConsumerAssociationStore [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:122: error: cannot find symbol [javac] manager.setNonceVerifier(new InMemoryNonceVerifier(5000)); [javac] ^ [javac] symbol: class InMemoryNonceVerifier [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:123: error: cannot find symbol [javac] manager.setMinAssocSessEnc(AssociationSessionType.DHSHA256); [javac] ^ [javac] symbol: variable AssociationSessionType [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:213: error: cannot find symbol [javac] ParameterList openidResp = new ParameterList(origreq.getParameterMap()); [javac] ^ [javac] symbol: class ParameterList [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:213: error: cannot find symbol [javac] ParameterList openidResp = new ParameterList(origreq.getParameterMap()); [javac] ^ [javac] symbol: class ParameterList [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:275: error: cannot find symbol [javac] VerificationResult verification = manager.verify(receivingURL.toString(), openidResp, discovered); [javac] ^ [javac] symbol: class VerificationResult [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:278: error: cannot find symbol [javac] Identifier verified = verification.getVerifiedId(); [javac] ^ [javac] symbol: class Identifier [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:319: error: cannot find symbol [javac] AuthRequest authReq = manager.authenticate(discovered, OpenIDReturnURL); [javac] ^ [javac] symbol: class AuthRequest [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:403: error: cannot find symbol [javac] .replace("{{title}}", StringEscapeUtils.escapeHtml(responseType.title)) [javac] ^ [javac] symbol: variable StringEscapeUtils [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\OpenIDHandler.java:402: error: cannot find symbol [javac] .replace("{{message}}", StringEscapeUtils.escapeHtml(message)) [javac] ^ [javac] symbol: variable StringEscapeUtils [javac] location: class OpenIDHandler [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\actions\GenerateRandomPassword.java:46: error: cannot find symbol [javac] sb.append(pwcharset.charAt(RandomUtils.nextInt(pwcharset [javac] ^ [javac] symbol: variable RandomUtils [javac] location: class GenerateRandomPassword [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\actions\GenerateRandomPassword.java:50: error: cannot find symbol [javac] sb.append(RandomStringUtils.random(1, "ABCDEFGHIJKLMNOPQRSTUVWXYZ")); [javac] ^ [javac] symbol: variable RandomStringUtils [javac] location: class GenerateRandomPassword [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\actions\GenerateRandomPassword.java:51: error: cannot find symbol [javac] sb.append(RandomStringUtils.random(1, "abcdefghijklmnopqrstuvwxyz")); [javac] ^ [javac] symbol: variable RandomStringUtils [javac] location: class GenerateRandomPassword [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\actions\GenerateRandomPassword.java:52: error: cannot find symbol [javac] sb.append(RandomStringUtils.random(1, [javac] ^ [javac] symbol: variable RandomStringUtils [javac] location: class GenerateRandomPassword [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\actions\GenerateRandomPassword.java:54: error: cannot find symbol [javac] sb.append(RandomStringUtils.random(1, "1234567890")); [javac] ^ [javac] symbol: variable RandomStringUtils [javac] location: class GenerateRandomPassword [javac] C:\Users\Collins\Documents\Mendix\Loan Manager-main2\javasource\appcloudservices\actions\GenerateRandomPassword.java:64: error: cannot find symbol [javac] result.append(base.remove(RandomUtils.nextInt(base.size()))); [javac] ^ [javac] symbol: variable RandomUtils [javac] location: class GenerateRandomPassword [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: C:\Users\Collins\Documents\Mendix\Loan Manager-main_2\javasource\com\mendix\core\Core.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 42 errors

BUILD FAILED C:\Users\Collins\Documents\Mendix\Loan Manager-main2\deployment\buildcore.xml:27: Compile failed; see the compiler error output for details.

Total time: 4 seconds


Viewing all articles
Browse latest Browse all 82386

Trending Articles