java.lang.NoClassDefFoundError: org/apache/maven/repository/internal/MavenRepositorySystemUtils - noclassdeffounderror

I am working on a maven plugin project which invokes a jar file calling a function from MavenRepositorySystemUtils in maven-aether-provider.jar. However, I kept receiving exception as below,
Caused by: java.lang.NoClassDefFoundError: org/apache/maven/repository/internal/MavenRepositorySystemUtils
at com.dbx.upload.Utils.NexusUtils.ManualRepositorySystemFactory.newRepositorySystem(ManualRepositorySystemFactory.java:27)
at com.dbx.upload.Utils.NexusUtils.Booter.newRepositorySystem(Booter.java:39)
at com.dbx.upload.Downloader.NexusDownloader.download(NexusDownloader.java:69)
at com.dbx.upload.UploadTool.<init>(UploadTool.java:60)
at com.dbx.upload.plugin.UploadMojo.execute(UploadMojo.java:221)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
Caused by: java.lang.ClassNotFoundException: org.apache.maven.repository.internal.MavenRepositorySystemUtils
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
... 26 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
I have deleted my local repo and re-run the maven plugin without success.
I verified that maven-aether-provider.jar:3.1.0 is under local repo.
One thing weird is that the pluin realm seems to exclude some usefule classes as shown here,
> [DEBUG] Created new class realm plugin>com.dbx.upload.plugin:veracode-maven-plugin:1.0.2-SNAPSHOT
[DEBUG] Importing foreign packages into class realm plugin>com.dbx.upload.plugin:veracode-maven-plugin:1.0.2-SNAPSHOT
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>com.dbx.upload.plugin:veracode-maven-plugin:1.0.2-SNAPSHOT
[DEBUG] Included: com.dbx.upload.plugin:veracode-maven-plugin:jar:1.0.2-SNAPSHOT
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.10
[DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M2a
[DEBUG] Included: javax.enterprise:cdi-api:jar:1.0
[DEBUG] Included: javax.annotation:jsr250-api:jar:1.0
[DEBUG] Included: javax.inject:javax.inject:jar:1
[DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0
[DEBUG] Included: aopalliance:aopalliance:jar:1.0
[DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M2a
[DEBUG] Included: asm:asm:jar:3.3.1
[DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.16
[DEBUG] Included: org.eclipse.aether:aether-api:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-spi:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-util:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-impl:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-connector-basic:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-transport-file:jar:0.9.0.M4
[DEBUG] Included: org.eclipse.aether:aether-transport-http:jar:0.9.0.M4
[DEBUG] Included: org.slf4j:jcl-over-slf4j:jar:1.6.2
[DEBUG] Included: org.slf4j:slf4j-api:jar:1.6.2
[DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:3.1.0
[DEBUG] Excluded: org.apache.maven:maven-model:jar:3.1.0
[DEBUG] Excluded: org.apache.maven:maven-artifact:jar:3.1.0
[DEBUG] Excluded: org.codehaus.plexus:plexus-classworlds:jar:2.4
[DEBUG] Excluded: org.apache.maven:maven-aether-provider:jar:3.1.0
[DEBUG] Excluded: org.apache.maven:maven-model-builder:jar:3.1.0
[DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:3.1.0
Any clue for the exception? Much Appreciate for your help.

Related

Socket Hang up issue

Below are the logs:
[debug] [35m[W3C][39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] [35m[W3C][39m at UIA2Proxy.command (C:\Users\aarif\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:274:13)
[debug] [35m[W3C][39m at processTicksAndRejections (node:internal/process/task_queues:96:5)
[debug] [35m[W3C][39m at AndroidUiautomator2Driver.commands.getDevicePixelRatio (C:\Users\aarif\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\commands\viewport.js:14:10)
[debug] [35m[W3C][39m at AndroidUiautomator2Driver.fillDeviceDetails (C:\Users\aarif\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:244:28)
[debug] [35m[W3C][39m at AndroidUiautomator2Driver.createSession (C:\Users\aarif\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:230:7)
[debug] [35m[W3C][39m at AppiumDriver.createSession (C:\Users\aarif\AppData\Roaming\npm\node_modules\appium\lib\appium.js:387:35)
[35m[HTTP][39m [37m<-- POST /wd/hub/session [39m[31m500[39m [90m12195 ms - 1315[39m
[35m[HTTP][39m [90m[39m
[debug] [35m[Instrumentation][39m io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
Test case skipped
Test case skipped
Test case skipped
===============================================
Suite
Total tests run: 3, Passes: 0, Failures: 0, Skips: 3
Configuration Failures: 1, Skips: 5
===============================================

Unable to download dependencies in gradle using proxy

I am running gradle 2.3 through eclipse from behind a proxy server.
I gave the proxy properties in gradle.properties and saw that they were being picked up while running the build but failing to download the dependencies through https.
I'm getting the 407 Proxy authentication required error.
Below is the debug stack trace. Please help me resolve the issue.I've verfied that the credentials are correct.
[sts] -----------------------------------------------------
[sts] Starting Gradle build for the following tasks:
[sts] test
[sts] -----------------------------------------------------
14:15:53.053 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 8988). The daemon log file: C:\Users\majumdaran\.gradle\daemon\2.3\daemon-8988.out.log
14:15:53.054 [INFO] [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting 38th build in daemon [uptime: 1 hrs 22 mins 15.573 secs, performance: 100%, memory: 3% of 1.0 GB]
14:15:53.054 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
14:15:53.055 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=ea429d4f-cd0a-4652-8ce5-1fb55b48bf57,javaHome=C:\Program Files (x86)\Java\jdk1.6.0_45,daemonRegistryDir=C:\Users\majumdaran\.gradle\daemon,pid=8988,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]
14:15:53.054 [INFO] [org.gradle.launcher.daemon.server.exec.ForwardClientInput] Closing daemon's stdin at end of input.
14:15:53.056 [INFO] [org.gradle.launcher.daemon.server.exec.ForwardClientInput] The daemon will no longer process any standard input.
14:15:53.087 [DEBUG] [org.gradle.internal.resource.transport.http.JavaSystemPropertiesHttpProxySettings] Found java system property 'http.nonProxyHosts': localhost|127.0.0.1. Will ignore proxy settings for these hosts.
14:15:53.089 [DEBUG] [org.gradle.internal.resource.transport.http.HttpClientConfigurer] Using org.gradle.internal.resource.PasswordCredentials#f530f1 and NTLM Credentials [user: majumdaran, domain: KT, workstation: LSWRNL1434] for authenticating against 'proxynap.domain.com:80'
14:15:53.093 [INFO] [org.gradle.BuildLogger] Starting Build
14:15:53.093 [DEBUG] [org.gradle.BuildLogger] Gradle user home: C:\Users\majumdaran\.gradle
14:15:53.093 [DEBUG] [org.gradle.BuildLogger] Current dir: C:\Work\UtilServices
14:15:53.094 [DEBUG] [org.gradle.BuildLogger] Settings file: null
14:15:53.094 [DEBUG] [org.gradle.BuildLogger] Build file: null
14:15:53.122 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Starting to build the build sources.
14:15:53.123 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave.
14:15:53.123 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
14:15:53.123 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
14:15:53.126 [DEBUG] [org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator] No local repository in Settings file defined. Using default path: C:\Users\majumdaran\.m2\repository
14:15:53.139 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.015 secs
14:15:53.139 [INFO] [org.gradle.BuildLogger] Settings evaluated using empty settings script.
14:15:53.141 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: C:\Work\UtilServices\gradle.properties
14:15:53.141 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Adding project properties (if not overwritten by user properties): [systemProp.https.auth.ntlm.domain, systemProp.https.keepAlive, systemProp.https.proxyUser, systemProp.https.proxyPort, systemProp.https.proxyPassword, systemProp.https.proxyHost]
14:15:53.142 [INFO] [org.gradle.BuildLogger] Projects loaded. Root project using build file 'C:\Work\UtilServices\build.gradle'.
14:15:53.143 [INFO] [org.gradle.BuildLogger] Included projects: [root project 'UtilServices']
14:15:53.146 [INFO] [org.gradle.configuration.project.BuildScriptProcessor] Evaluating root project 'UtilServices' using build file 'C:\Work\UtilServices\build.gradle'.
14:15:53.152 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for build file 'C:\Work\UtilServices\build.gradle' (C:\Users\majumdaran\.gradle\caches\2.3\scripts\build_andeld3ft8eben9snt8ql2hqb\ProjectScript\buildscript).
14:15:53.152 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
14:15:53.157 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file 'C:\Work\UtilServices\build.gradle' (C:\Users\majumdaran\.gradle\caches\2.3\scripts\build_andeld3ft8eben9snt8ql2hqb\ProjectScript\no_buildscript).
14:15:53.157 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
14:15:53.211 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 0.065 secs
14:15:53.213 [INFO] [org.gradle.BuildLogger] All projects evaluated.
14:15:53.214 [INFO] [org.gradle.execution.TaskNameResolvingBuildConfigurationAction] Selected primary task 'test' from project :
14:15:53.218 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskGraphExecuter] Timing: Creating the DAG took 0.0040 secs
14:15:53.219 [INFO] [org.gradle.BuildLogger] Tasks to be executed: [task ':compileJava', task ':processResources', task ':classes', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test']
14:15:53.219 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :compileJava (Thread[Daemon worker Thread 20,5,main]) started.
14:15:53.220 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :compileJava
14:15:53.221 [INFO] [org.gradle.api.internal.changedetection.state.InMemoryTaskArtifactCache] In-memory cache of C:\Work\UtilServices\.gradle\2.3\taskArtifacts\fileHashes.bin: Size{3}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
14:15:53.221 [INFO] [org.gradle.api.internal.changedetection.state.InMemoryTaskArtifactCache] In-memory cache of C:\Work\UtilServices\.gradle\2.3\taskArtifacts\outputFileStates.bin: Size{5}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
14:15:53.221 [INFO] [org.gradle.api.internal.changedetection.state.InMemoryTaskArtifactCache] In-memory cache of C:\Work\UtilServices\.gradle\2.3\taskArtifacts\fileSnapshots.bin: Size{36}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
14:15:53.221 [INFO] [org.gradle.api.internal.changedetection.state.InMemoryTaskArtifactCache] In-memory cache of C:\Work\UtilServices\.gradle\2.3\taskArtifacts\taskArtifacts.bin: Size{4}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
14:15:53.222 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':compileJava'
14:15:53.224 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':compileJava' is up-to-date
14:15:53.226 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on task history cache (C:\Work\UtilServices\.gradle\2.3\taskArtifacts).
14:15:53.226 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
14:15:53.228 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache outputFileStates.bin (C:\Work\UtilServices\.gradle\2.3\taskArtifacts\outputFileStates.bin)
14:15:53.231 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on artifact cache (C:\Users\majumdaran\.gradle\caches\modules-2).
14:15:53.232 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
14:15:53.232 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultDependencyResolver] Resolving configuration ':compile'
14:15:53.233 [DEBUG] [org.gradle.internal.resource.transport.http.JavaSystemPropertiesHttpProxySettings] Found java system property 'http.nonProxyHosts': localhost|127.0.0.1. Will ignore proxy settings for these hosts.
14:15:53.233 [DEBUG] [org.gradle.internal.resource.transport.http.HttpClientConfigurer] Using org.gradle.internal.resource.PasswordCredentials#3ed883 and NTLM Credentials [user: majumdaran, domain: KT, workstation: LSWRNL1434] for authenticating against 'proxynap.domain.com:80'
14:15:53.234 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] Creating new in-memory cache for repo 'MavenRepo' [4471c3b2f5ea2d40ffaa8b3948cdbacd].
14:15:53.237 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Visiting configuration :UtilServices:unspecified(compile).
14:15:53.238 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Visiting dependency :UtilServices:unspecified(compile) -> javax.ws.rs:jsr311-api:1.1.1(dependency: javax.ws.rs#jsr311-api;1.1.1 {compile=[default]})
14:15:53.238 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Selecting new module version javax.ws.rs:jsr311-api:1.1.1
14:15:53.238 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainDependencyResolver] Attempting to resolve javax.ws.rs:jsr311-api:1.1.1 using repositories [MavenRepo]
14:15:53.239 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache module-metadata.bin (C:\Users\majumdaran\.gradle\caches\modules-2\metadata-2.14\module-metadata.bin)
14:15:53.240 [DEBUG] [org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver] Loading https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.pom
14:15:53.240 [DEBUG] [org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor] Constructing external resource: https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.pom
14:15:53.240 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache artifact-at-url.bin (C:\Users\majumdaran\.gradle\caches\modules-2\metadata-2.14\artifact-at-url.bin)
14:15:53.242 [DEBUG] [org.gradle.internal.resource.transport.http.HttpResourceAccessor] Constructing external resource: https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.pom
14:15:53.242 [DEBUG] [org.gradle.internal.resource.transport.http.HttpClientHelper] Performing HTTP GET: https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.pom
14:15:53.248 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection request: [route: {tls}->http://PROXYNAP.domain.COM:80->https://repo1.maven.org][total kept alive: 0; route allocated: 0 of 5; total allocated: 0 of 10]
14:15:53.248 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection leased: [id: 105][route: {tls}->http://PROXYNAP.domain.COM:80->https://repo1.maven.org][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 10]
14:15:53.286 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnectionOperator] Connecting to PROXYNAP.domain.COM:80
14:15:53.325 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context
14:15:53.326 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Proxy auth state: UNCHALLENGED
14:15:53.326 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Sending request: CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.326 [DEBUG] [org.apache.http.headers] >> CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.327 [DEBUG] [org.apache.http.headers] >> Host: repo1.maven.org
14:15:53.327 [DEBUG] [org.apache.http.headers] >> Proxy-Connection: Keep-Alive
14:15:53.327 [DEBUG] [org.apache.http.headers] >> User-Agent: Gradle/2.3 (Windows 7;6.1;x86) (Sun Microsystems Inc.;1.6.0_45;20.45-b01)
14:15:53.389 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Receiving response: HTTP/1.1 407 Proxy Authentication Required
14:15:53.390 [DEBUG] [org.apache.http.headers] << HTTP/1.1 407 Proxy Authentication Required
14:15:53.391 [DEBUG] [org.apache.http.headers] << Proxy-Authenticate: NEGOTIATE
14:15:53.392 [DEBUG] [org.apache.http.headers] << Proxy-Authenticate: NTLM
14:15:53.394 [DEBUG] [org.apache.http.headers] << Proxy-Authenticate: BASIC realm="DomainDC"
14:15:53.394 [DEBUG] [org.apache.http.headers] << Cache-Control: no-cache
14:15:53.396 [DEBUG] [org.apache.http.headers] << Pragma: no-cache
14:15:53.396 [DEBUG] [org.apache.http.headers] << Content-Type: text/html; charset=utf-8
14:15:53.397 [DEBUG] [org.apache.http.headers] << Proxy-Connection: close
14:15:53.397 [DEBUG] [org.apache.http.headers] << Set-Cookie: BCSI-CS-219523f463b2e8fe=2; Path=/
14:15:53.398 [DEBUG] [org.apache.http.headers] << Connection: close
14:15:53.399 [DEBUG] [org.apache.http.headers] << Content-Length: 813
14:15:53.399 [DEBUG] [org.apache.http.client.protocol.ResponseProcessCookies] Cookie spec not specified in HTTP context
14:15:53.400 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authentication required
14:15:53.401 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] PROXYNAP.domain.COM:80 requested authentication
14:15:53.402 [DEBUG] [org.apache.http.impl.client.ProxyAuthenticationStrategy] Authentication schemes in the order of preference: [negotiate, Kerberos, NTLM, Digest, Basic]
14:15:53.402 [DEBUG] [org.apache.http.impl.auth.SPNegoScheme] Received challenge '' from the auth server
14:15:53.403 [DEBUG] [org.apache.http.impl.client.ProxyAuthenticationStrategy] Challenge for Kerberos authentication scheme not available
14:15:53.404 [DEBUG] [org.apache.http.impl.client.ProxyAuthenticationStrategy] Challenge for Digest authentication scheme not available
14:15:53.404 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Selected authentication options: [NEGOTIATE, NTLM, BASIC]
14:15:53.406 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Connection 0.0.0.0:52729<->172.30.1.181:80 closed
14:15:53.407 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnectionOperator] Connecting to PROXYNAP.domain.COM:80
14:15:53.462 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context
14:15:53.463 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Proxy auth state: CHALLENGED
14:15:53.463 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Generating response to an authentication challenge using Negotiate scheme
14:15:53.463 [DEBUG] [org.apache.http.impl.auth.SPNegoScheme] init PROXYNAP.domain.COM:80
14:15:53.464 [WARN] [org.apache.http.client.protocol.RequestProxyAuthentication] NEGOTIATE authentication error: Invalid name provided (Mechanism level: Could not load configuration file C:\WINDOWS\krb5.ini (The system cannot find the file specified))
14:15:53.465 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Generating response to an authentication challenge using ntlm scheme
14:15:53.465 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Sending request: CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.465 [DEBUG] [org.apache.http.headers] >> CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.465 [DEBUG] [org.apache.http.headers] >> Host: repo1.maven.org
14:15:53.465 [DEBUG] [org.apache.http.headers] >> Proxy-Connection: Keep-Alive
14:15:53.466 [DEBUG] [org.apache.http.headers] >> User-Agent: Gradle/2.3 (Windows 7;6.1;x86) (Sun Microsystems Inc.;1.6.0_45;20.45-b01)
14:15:53.466 [DEBUG] [org.apache.http.headers] >> Proxy-Authorization: NTLM TlRMTVNTUAABAAAAATIAAAIAAgAgAAAACgAKACIAAABLVExTV1JOTDE0MzQ=
14:15:53.505 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Receiving response: HTTP/1.1 407 Proxy Authentication Required
14:15:53.506 [DEBUG] [org.apache.http.headers] << HTTP/1.1 407 Proxy Authentication Required
14:15:53.506 [DEBUG] [org.apache.http.headers] << Proxy-Authenticate: NTLM TlRMTVNTUAACAAAABAAEADgAAAAFAoECnPhQEmC+RM4AAAAAAAAAAKQApAA8AAAABgGxHQAAAA9LAFQAAgAEAEsAVAABABYASwBUAE4AQQBQAFAAUgBYADcAMgAwAAQAHABrAHQALgBnAHIAbwB1AHAALgBsAG8AYwBhAGwAAwA0AEsAVABOAEEAUABQAFIAWAA3ADIAMAAuAGsAdAAuAGcAcgBvAHUAcAAuAGwAbwBjAGEAbAAFABYAZwByAG8AdQBwAC4AbABvAGMAYQBsAAcACADCTfoMKHLQAQAAAAA=
14:15:53.507 [DEBUG] [org.apache.http.headers] << Cache-Control: no-cache
14:15:53.507 [DEBUG] [org.apache.http.headers] << Pragma: no-cache
14:15:53.507 [DEBUG] [org.apache.http.headers] << Content-Type: text/html; charset=utf-8
14:15:53.508 [DEBUG] [org.apache.http.headers] << Proxy-Connection: Keep-Alive
14:15:53.508 [DEBUG] [org.apache.http.headers] << Set-Cookie: BCSI-CS-219523f463b2e8fe=2; Path=/
14:15:53.509 [DEBUG] [org.apache.http.headers] << Connection: Keep-Alive
14:15:53.510 [DEBUG] [org.apache.http.headers] << Content-Length: 830
14:15:53.510 [DEBUG] [org.apache.http.client.protocol.ResponseProcessCookies] Cookie spec not specified in HTTP context
14:15:53.510 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authentication required
14:15:53.511 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] PROXYNAP.domain.COM:80 requested authentication
14:15:53.511 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authorization challenge processed
14:15:53.512 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Connection kept alive
14:15:53.512 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context
14:15:53.513 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Proxy auth state: HANDSHAKE
14:15:53.514 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Sending request: CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.515 [DEBUG] [org.apache.http.headers] >> CONNECT repo1.maven.org:443 HTTP/1.1
14:15:53.515 [DEBUG] [org.apache.http.headers] >> Host: repo1.maven.org
14:15:53.516 [DEBUG] [org.apache.http.headers] >> Proxy-Connection: Keep-Alive
14:15:53.516 [DEBUG] [org.apache.http.headers] >> User-Agent: Gradle/2.3 (Windows 7;6.1;x86) (Sun Microsystems Inc.;1.6.0_45;20.45-b01)
14:15:53.517 [DEBUG] [org.apache.http.headers] >> Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAADUANQAWAAAAAQABAAsAQAAFAAUADABAAAUABQARAEAAAAAAAAAAAAAAQIAAMH+sPRYQvIsFNzzYiq7VWtugTt+sJGtkYOrVJygwj5Y6T5BUskeLkUBAQAAAAAAAKBA8QwoctABZMcATJhdTDoAAAAAAgAEAEsAVAABABYASwBUAE4AQQBQAFAAUgBYADcAMgAwAAQAHABrAHQALgBnAHIAbwB1AHAALgBsAG8AYwBhAGwAAwA0AEsAVABOAEEAUABQAFIAWAA3ADIAMAAuAGsAdAAuAGcAcgBvAHUAcAAuAGwAbwBjAGEAbAAFABYAZwByAG8AdQBwAC4AbABvAGMAYQBsAAcACADCTfoMKHLQAQAAAAAAAAAASwBUAG0AYQBqAHUAbQBkAGEAcgBhAG4ATABTAFcAUgBOAEwAMQA0ADMANAA=
14:15:53.566 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Receiving response: HTTP/1.1 407 Proxy Authentication Required
14:15:53.567 [DEBUG] [org.apache.http.headers] << HTTP/1.1 407 Proxy Authentication Required
14:15:53.568 [DEBUG] [org.apache.http.headers] << Proxy-Authenticate: NTLM
14:15:53.569 [DEBUG] [org.apache.http.headers] << Cache-Control: no-cache
14:15:53.570 [DEBUG] [org.apache.http.headers] << Pragma: no-cache
14:15:53.571 [DEBUG] [org.apache.http.headers] << Content-Type: text/html; charset=utf-8
14:15:53.573 [DEBUG] [org.apache.http.headers] << Proxy-Connection: close
14:15:53.574 [DEBUG] [org.apache.http.headers] << Set-Cookie: BCSI-CS-219523f463b2e8fe=2; Path=/
14:15:53.575 [DEBUG] [org.apache.http.headers] << Connection: close
14:15:53.576 [DEBUG] [org.apache.http.headers] << Content-Length: 863
14:15:53.577 [DEBUG] [org.apache.http.client.protocol.ResponseProcessCookies] Cookie spec not specified in HTTP context
14:15:53.577 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authentication required
14:15:53.578 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] PROXYNAP.domain.COM:80 requested authentication
14:15:53.579 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authorization challenge processed
14:15:53.579 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Authentication failed
14:15:53.580 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Connection 0.0.0.0:52730<->172.30.1.181:80 closed
14:15:53.581 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] CONNECT refused by proxy: HTTP/1.1 407 Proxy Authentication Required
14:15:53.583 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Connection 0.0.0.0:52730<->172.30.1.181:80 closed
14:15:53.584 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection released: [id: 105][route: {tls}->http://PROXYNAP.domain.COM:80->https://repo1.maven.org][total kept alive: 0; route allocated: 0 of 5; total allocated: 0 of 10]
14:15:53.585 [INFO] [org.gradle.internal.resource.transport.http.HttpClientHelper] Failed to get resource: GET. [HTTP HTTP/1.1 407 Proxy Authentication Required: https://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.pom]
14:15:53.586 [DEBUG]
--- deleted due to so 30000 chars limit

ERRAI Tutorial (3.1.1) error during deployment on Wildfly server

I am running the stock Errai-Tutorial (3.1.1) in Eclipse using Maven 3.2.1. It runs fine in SuperDev mode, but when I try to deploy it using 'clean package wildfly:deploy', everything compiles fine but I get an error during deployment (with the Debug flag set):
[INFO] <<< wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) # errai-tutorial <<<
[INFO]
[INFO] --- wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) # errai-tutorial ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=1, ConflictMarker.nodeCount=130, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=53, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1, ConflictResolver.conflictItemCount=109, DefaultDependencyCollector.collectTime=84, DefaultDependencyCollector.transformTime=2}
[DEBUG] org.wildfly.plugins:wildfly-maven-plugin:jar:1.0.2.Final:
[DEBUG] org.apache.commons:commons-compress:jar:1.5:compile
[DEBUG] org.tukaani:xz:jar:1.2:compile
[DEBUG] org.apache.maven:maven-core:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-model:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-settings:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-settings-builder:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-artifact:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-model-builder:jar:3.0.5:compile
[DEBUG] org.apache.maven:maven-aether-provider:jar:3.0.5:compile
[DEBUG] org.sonatype.aether:aether-spi:jar:1.13.1:compile
[DEBUG] org.sonatype.aether:aether-impl:jar:1.13.1:compile
[DEBUG] org.sonatype.aether:aether-api:jar:1.13.1:compile
[DEBUG] org.sonatype.aether:aether-util:jar:1.13.1:compile
[DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0:compile
[DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:2.3.0:compile
[DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0:compile
[DEBUG] org.sonatype.sisu:sisu-guava:jar:0.9.9:compile
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.4:compile
[DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG] org.apache.maven:maven-plugin-api:jar:3.0.5:compile
[DEBUG] org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.2:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.10:compile
[DEBUG] org.jboss.jdf:stacks-client:jar:1.0.2.Final:compile
[DEBUG] org.yaml:snakeyaml:jar:1.10:compile
[DEBUG] org.apache.httpcomponents:httpclient:jar:4.0.1:compile
[DEBUG] org.apache.httpcomponents:httpcore:jar:4.0.1:compile
[DEBUG] commons-logging:commons-logging:jar:1.1.1:compile
[DEBUG] commons-codec:commons-codec:jar:1.3:compile
[DEBUG] org.jboss.logging:jboss-logging:jar:3.1.2.GA:compile
[DEBUG] org.wildfly:wildfly-cli:jar:8.1.0.Final:compile
[DEBUG] org.jboss.aesh:aesh:jar:0.33.11:compile
[DEBUG] org.fusesource.jansi:jansi:jar:1.9:compile
[DEBUG] org.jboss:staxmapper:jar:1.1.0.Final:compile
[DEBUG] org.wildfly.security:wildfly-security-manager:jar:1.0.0.Final:compile
[DEBUG] org.jboss.sasl:jboss-sasl:jar:1.0.4.Final:compile
[DEBUG] org.jboss.remoting:jboss-remoting:jar:4.0.3.Final:compile
[DEBUG] org.jboss.remotingjmx:remoting-jmx:jar:2.0.0.Final:compile
[DEBUG] org.jboss.marshalling:jboss-marshalling:jar:1.4.2.Final:compile
[DEBUG] org.jboss.marshalling:jboss-marshalling-river:jar:1.4.2.Final:compile
[DEBUG] org.jboss:jboss-vfs:jar:3.2.5.Final:compile
[DEBUG] sun.jdk:jconsole:jar:jdk:system
[DEBUG] org.wildfly:wildfly-build-config:jar:8.1.0.Final:compile
[DEBUG] org.wildfly:wildfly-controller-client:jar:8.1.0.Final:compile
[DEBUG] org.jboss:jboss-dmr:jar:1.2.0.Final:compile
[DEBUG] org.jboss.threads:jboss-threads:jar:2.1.1.Final:compile
[DEBUG] org.wildfly:wildfly-protocol:jar:8.1.0.Final:compile
[DEBUG] org.jboss.xnio:xnio-api:jar:3.2.2.Final:compile
[DEBUG] org.jboss.xnio:xnio-nio:jar:3.2.2.Final:compile
[DEBUG] Created new class realm plugin>org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final
[DEBUG] Importing foreign packages into class realm plugin>org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final
[DEBUG] Included: org.wildfly.plugins:wildfly-maven-plugin:jar:1.0.2.Final
[DEBUG] Included: org.apache.commons:commons-compress:jar:1.5
[DEBUG] Included: org.tukaani:xz:jar:1.2
[DEBUG] Included: org.sonatype.aether:aether-util:jar:1.13.1
[DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:2.3.0
[DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0
[DEBUG] Included: org.sonatype.sisu:sisu-guava:jar:0.9.9
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG] Included: org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.2
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.10
[DEBUG] Included: org.jboss.jdf:stacks-client:jar:1.0.2.Final
[DEBUG] Included: org.yaml:snakeyaml:jar:1.10
[DEBUG] Included: org.apache.httpcomponents:httpclient:jar:4.0.1
[DEBUG] Included: org.apache.httpcomponents:httpcore:jar:4.0.1
[DEBUG] Included: commons-logging:commons-logging:jar:1.1.1
[DEBUG] Included: commons-codec:commons-codec:jar:1.3
[DEBUG] Included: org.jboss.logging:jboss-logging:jar:3.1.2.GA
[DEBUG] Included: org.wildfly:wildfly-cli:jar:8.1.0.Final
[DEBUG] Included: org.jboss.aesh:aesh:jar:0.33.11
[DEBUG] Included: org.fusesource.jansi:jansi:jar:1.9
[DEBUG] Included: org.jboss:staxmapper:jar:1.1.0.Final
[DEBUG] Included: org.wildfly.security:wildfly-security-manager:jar:1.0.0.Final
[DEBUG] Included: org.jboss.sasl:jboss-sasl:jar:1.0.4.Final
[DEBUG] Included: org.jboss.remoting:jboss-remoting:jar:4.0.3.Final
[DEBUG] Included: org.jboss.remotingjmx:remoting-jmx:jar:2.0.0.Final
[DEBUG] Included: org.jboss.marshalling:jboss-marshalling:jar:1.4.2.Final
[DEBUG] Included: org.jboss.marshalling:jboss-marshalling-river:jar:1.4.2.Final
[DEBUG] Included: org.jboss:jboss-vfs:jar:3.2.5.Final
[DEBUG] Included: sun.jdk:jconsole:jar:jdk
[DEBUG] Included: org.wildfly:wildfly-build-config:jar:8.1.0.Final
[DEBUG] Included: org.wildfly:wildfly-controller-client:jar:8.1.0.Final
[DEBUG] Included: org.jboss:jboss-dmr:jar:1.2.0.Final
[DEBUG] Included: org.jboss.threads:jboss-threads:jar:2.1.1.Final
[DEBUG] Included: org.wildfly:wildfly-protocol:jar:8.1.0.Final
[DEBUG] Included: org.jboss.xnio:xnio-api:jar:3.2.2.Final
[DEBUG] Included: org.jboss.xnio:xnio-nio:jar:3.2.2.Final
[DEBUG] Excluded: org.apache.maven:maven-core:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-model:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-settings:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-settings-builder:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-artifact:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-model-builder:jar:3.0.5
[DEBUG] Excluded: org.apache.maven:maven-aether-provider:jar:3.0.5
[DEBUG] Excluded: org.sonatype.aether:aether-spi:jar:1.13.1
[DEBUG] Excluded: org.sonatype.aether:aether-impl:jar:1.13.1
[DEBUG] Excluded: org.sonatype.aether:aether-api:jar:1.13.1
[DEBUG] Excluded: org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0
[DEBUG] Excluded: org.codehaus.plexus:plexus-classworlds:jar:2.4
[DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:3.0.5
[DEBUG] Configuring mojo org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy from plugin realm ClassRealm[plugin>org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final, parent: sun.misc.Launcher$AppClassLoader#21a722ef]
[DEBUG] Configuring mojo 'org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy' with basic configurator -->
[DEBUG] (f) checkPackaging = true
[DEBUG] (f) force = true
[DEBUG] (f) hostname = localhost
[DEBUG] (f) port = 9990
[DEBUG] (f) project = MavenProject: org.jboss.errai.demo:errai-tutorial:1.0.0-SNAPSHOT # /Users/steve/Documents/eclipse_workspace/errai-tutorial-master/pom.xml
[DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter#253217dd
[DEBUG] (f) skip = false
[DEBUG] (f) targetDir = /Users/steve/Documents/eclipse_workspace/errai-tutorial-master/target
[DEBUG] -- end configuration --
[DEBUG] No <id> element was found in the POM - Getting credentials from CLI entry
Feb 21, 2015 5:20:36 PM org.xnio.Xnio <clinit>
INFO: XNIO version 3.2.2.Final
Feb 21, 2015 5:20:37 PM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.2.2.Final
Feb 21, 2015 5:20:37 PM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 4.0.3.Final
[DEBUG] Executing deployment
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:40 min
[INFO] Finished at: 2015-02-21T17:20:37-05:00
[INFO] Final Memory: 50M/710M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) on project errai-tutorial: Deployment failed and was rolled back. "java.io.IOException: No such file or directory" -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) on project errai-tutorial: Deployment failed and was rolled back.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.wildfly.plugin.common.DeploymentExecutionException: Deployment failed and was rolled back.
at org.wildfly.plugin.deployment.standalone.StandaloneDeployment.execute(StandaloneDeployment.java:180)
at org.wildfly.plugin.deployment.AbstractDeployment.executeDeployment(AbstractDeployment.java:121)
at org.wildfly.plugin.deployment.AbstractDeployment.doExecute(AbstractDeployment.java:146)
at org.wildfly.plugin.deployment.AbstractAppDeployment.doExecute(AbstractAppDeployment.java:70)
at org.wildfly.plugin.deployment.AbstractDeployment.execute(AbstractDeployment.java:111)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: java.lang.Exception: "java.io.IOException: No such file or directory"
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getActionResult(ServerDeploymentPlanResultFuture.java:134)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getResultFromNode(ServerDeploymentPlanResultFuture.java:123)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:85)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:42)
at org.wildfly.plugin.deployment.standalone.StandaloneDeployment.execute(StandaloneDeployment.java:169)
... 25 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
The only other error I see during compilation is the following (but this does not seem to impact SuperDev mode, so it is probably just a warning):
[INFO] ERROR [Ejb3Configuration] HHH000050: Container is providing a null PersistenceUnitRootUrl: discovery impossible
[INFO] WARN [ConnectionProviderInitiator] HHH000181: No appropriate connection provider encountered, assuming application will be supplying connections
Any ideas on why the deployment is failing?
Thanks,
Steve

Weird spurious errors during compilation of Play / Activator program?

I have a large and moderately complex web application, using the standard Typesafe Stack of Play, Scala and Akka. (I'm in the process of adding scala.js, but this problem predates that.)
A couple of months ago, I upgraded to the current Activator-based version of the world (having fallen behind the times), and that's mostly worked fine. But ever since then, I am semi-frequently getting a weird error when I try to compile:
[Querki] $ compile
[trace] Stack trace suppressed: run last scalajvm/compile:compile for the full output.
[error] (scalajvm/compile:compile) java.io.FileNotFoundException: C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajvm\target\scala-2.11\classes.bak\sbt2595416303704565240.class (Access is denied)
[error] Total time: 3 s, completed Sep 2, 2014 3:26:43 PM
Once it starts, it usually keeps recurring until I do a clean recompilation, so it's kind of a pain in the tuchus -- full recompilation of the system takes a while, and this is typically happening a couple of times a day. (OTOH, sometimes it simply stops happening, apparently for no reason.) Restarting Activator does not appear to help.
Anyone have any idea what's going on here? As far as I can tell, the classes.bak folder gets created temporarily during the compile process -- I can see it appear and then disappear again once the compile is finished, regardless of whether it succeeds. It definitely does not exist before the failed compiles start. It appears as if sbt is creating a temp folder in a broken state, or something like that.
If it's relevant, this is running on a Windows 7 box; I am using sbt 0.13.5, scala 2.11.1 and Activator 1.2.10.
ETA: Also conceivably relevant, now that I think of it -- I'm also running GitHub for Windows. I mention this because it's a Java-based app that is clearly doing something to check for changes to the tree periodically. (It auto-refreshes now and then; whether it is scanning the tree for changes or listening a la JNotify, I don't know.)
ETA2: Hah -- finally remembered to print the full log before cleaning. Here's the full stack traceback: I don't know what to make of it, but possibly someone on the sbt side of things can use it:
[Querki] $ compile
[info] Compiling 1 Scala source to C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\target\scala-2.11\classes...
[info] Fast optimizing C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajvm\target\scala-2.11\classes\public\javascripts\querki-client-fastopt.js
[trace] Stack trace suppressed: run last scalajvm/compile:compile for the full output.
[error] (scalajvm/compile:compile) java.io.FileNotFoundException: C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajvm\target\scala-2.11\classes.bak\sbt1117112335838311075.class (Access is denied)
[error] Total time: 22 s, completed Sep 5, 2014 3:17:25 PM
[Querki] $ last scalajvm/compile:compile
scalajs/compile:compile
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set(C:\Users\jducoeur\Documents\GitHub\Querki\querki\scala\src\main\scala\qtexttest\LineParsers.scala)
[debug] Removed products: Set()
[debug] External API changes: API Changes: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set(C:\Users\jducoeur\Documents\GitHub\Querki\querki\scala\src\main\scala\qtexttest\LineParsers.scala)
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set()
[debug] binary dep: Set()
[debug] external source: Set()
[debug] All initially invalidated sources: Set(C:\Users\jducoeur\Documents\GitHub\Querki\querki\scala\src\main\scala\qtexttest\LineParsers.scala)
[info] Compiling 1 Scala source to C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\target\scala-2.11\classes...
[debug] Getting compiler-interface from component compiler for Scala 2.11.1
[debug] Getting compiler-interface from component compiler for Scala 2.11.1
[debug] Running cached compiler 1f1ebd37, interfacing (CompilerInterface) with Scala compiler version 2.11.1
[debug] Calling Scala compiler with arguments (CompilerInterface):
[debug] -Xplugin:C:\Users\jducoeur\.ivy2\cache\org.scala-lang.modules.scalajs\scalajs-compiler_2.11.1\jars\scalajs-compiler_2.11.1-0.5.4.jar
[debug] -bootclasspath
[debug] C:\Program Files\Java\jdk1.6.0_38\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_38\jre\lib\modules\jdk.boot.jar;C:\Program Files\Java\jdk1.6.0_38\jre\classes;C:\Users\jducoeur\.ivy2\cache\org.scala-lang\scala-library\jars\scala-library-2.11.1.jar
[debug] -classpath
[debug] C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajs\target\scala-2.11\classes;C:\Users\jducoeur\.ivy2\cache\org.scala-lang.modules.scalajs\scalajs-library_2.11\jars\scalajs-library_2.11-0.5.4.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-lang.modules.scalajs\scalajs-dom_sjs0.5_2.11\jars\scalajs-dom_sjs0.5_2.11-0.6.jar;C:\Users\jducoeur\.ivy2\cache\org.scala-lang.modules.scalajs\scalajs-jquery_sjs0.5_2.11\jars\scalajs-jquery_sjs0.5_2.11-0.6.jar;C:\Users\jducoeur\.ivy2\cache\org.webjars\jquery\jars\jquery-1.10.2.jar
[debug] Scala compilation took 6.133828284 s
[debug] New invalidations:
[debug] Set()
[debug] Initial set of included nodes: Set()
[debug] Previously invalidated, but (transitively) depend on new invalidations:
[debug] Set()
[debug] All newly invalidated sources after taking into account (previously) recompiled sources:Set()
scalajvm/compile:compile
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set(C:\Users\jducoeur\Documents\GitHub\Querki\querki\scala\src\main\scala\qtexttest\LineParsers.scala, C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajvm\app\qtext\LineParsers.scala)
[debug] Removed products: Set()
[debug] External API changes: API Changes: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set(C:\Users\jducoeur\Documents\GitHub\Querki\querki\scala\src\main\scala\qtexttest\LineParsers.scala, C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajvm\app\qtext\LineParsers.scala)
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set()
[debug] binary dep: Set()
[debug] external source: Set()
[debug] All initially invalidated sources: Set(C:\Users\jducoeur\Documents\GitHub\Querki\querki\scala\src\main\scala\qtexttest\LineParsers.scala, C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajvm\app\qtext\LineParsers.scala)
java.io.FileNotFoundException: C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajvm\target\scala-2.11\classes.bak\sbt1117112335838311075.class (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
at sbt.Using$$anonfun$fileOutputChannel$1.apply(Using.scala:82)
at sbt.Using$$anonfun$fileOutputChannel$1.apply(Using.scala:82)
at sbt.Using$$anon$2.openImpl(Using.scala:72)
at sbt.OpenFile$class.open(Using.scala:46)
at sbt.Using$$anon$2.open(Using.scala:70)
at sbt.Using$$anon$2.open(Using.scala:70)
at sbt.Using.apply(Using.scala:24)
at sbt.IO$$anonfun$copyFile$3.apply(IO.scala:583)
at sbt.IO$$anonfun$copyFile$3.apply(IO.scala:582)
at sbt.Using.apply(Using.scala:25)
at sbt.IO$.copyFile(IO.scala:582)
at sbt.IO$.move(IO.scala:764)
at sbt.inc.ClassfileManager$$anonfun$transactional$1$$anon$2.sbt$inc$ClassfileManager$$anonfun$$anon$$move(ClassfileManager.scala:77)
at sbt.inc.ClassfileManager$$anonfun$transactional$1$$anon$2$$anonfun$delete$3.apply(ClassfileManager.scala:53)
at sbt.inc.ClassfileManager$$anonfun$transactional$1$$anon$2$$anonfun$delete$3.apply(ClassfileManager.scala:52)
at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:153)
at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:306)
at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:306)
at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:306)
at sbt.inc.ClassfileManager$$anonfun$transactional$1$$anon$2.delete(ClassfileManager.scala:52)
at sbt.inc.Incremental$.prune(Incremental.scala:58)
at sbt.inc.IncrementalCommon.cycle(Incremental.scala:96)
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:38)
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:37)
at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:65)
at sbt.inc.Incremental$.compile(Incremental.scala:37)
at sbt.inc.IncrementalCompile$.apply(Compile.scala:27)
at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:157)
at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:71)
at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:46)
at sbt.Compiler$.apply(Compiler.scala:75)
at sbt.Compiler$.apply(Compiler.scala:66)
at sbt.Defaults$.sbt$Defaults$$compileTaskImpl(Defaults.scala:770)
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:762)
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:762)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
[error] (scalajvm/compile:compile) java.io.FileNotFoundException: C:\Users\jducoeur\Documents\GitHub\Querki\querki\scalajvm\target\scala-2.11\classes.bak\sbt1117112335838311075.class (Access is denied)
[Querki] $

How to prevent java.lang.OutOfMemoryError: PermGen space? [duplicate]

This question already has answers here:
How to prevent java.lang.OutOfMemoryError: PermGen space at Scala compilation?
(9 answers)
Closed 9 years ago.
I am frequently getting an OutOfMemoryError from SBT.
> test
[error] java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: PermGen space
[error] Use 'last' for the full log.
> last
[debug] Running task... Cancelable: false, check cycles: false
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set()
[debug] Removed products: Set()
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set()
[debug] binary dep: Set()
[debug] external source: Set()
[debug] Initially invalidated: Set()
[debug] Copy resource mappings:
[debug]
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set()
[debug] Removed products: Set()
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set()
[debug] binary dep: Set()
[debug] external source: Set()
[debug] Initially invalidated: Set()
[debug] Copy resource mappings:
[debug]
[debug] Framework implementation 'org.scalacheck.ScalaCheckFramework' not present.
[debug] Framework implementation 'org.specs.runner.SpecsFramework' not present.
[debug] Framework implementation 'org.scalatest.tools.ScalaTestFramework' not present.
[debug] Framework implementation 'com.novocode.junit.JUnitFramework' not present.
[debug] Subclass fingerprints: Stream((org.specs2.specification.SpecificationStructure,false,org.specs2.runner.Fingerprints$$anon$1#34d6488c), ?)
[debug] Annotation fingerprints: Stream()
[debug] Running Test ExpandoObjectTest : subclass(false, org.specs2.specification.SpecificationStructure) with arguments
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: PermGen space
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at sbt.ConcurrentRestrictions$$anon$4.take(ConcurrentRestrictions.scala:196)
at sbt.Execute.next$1(Execute.scala:85)
at sbt.Execute.processAll(Execute.scala:88)
at sbt.Execute.runKeep(Execute.scala:68)
at sbt.EvaluateTask$.run$1(EvaluateTask.scala:162)
at sbt.EvaluateTask$.runTask(EvaluateTask.scala:177)
at sbt.Aggregation$$anonfun$4.apply(Aggregation.scala:46)
at sbt.Aggregation$$anonfun$4.apply(Aggregation.scala:44)
at sbt.EvaluateTask$.withStreams(EvaluateTask.scala:137)
at sbt.Aggregation$.runTasksWithResult(Aggregation.scala:44)
at sbt.Aggregation$.runTasks(Aggregation.scala:59)
at sbt.Aggregation$$anonfun$applyTasks$1.apply(Aggregation.scala:31)
at sbt.Aggregation$$anonfun$applyTasks$1.apply(Aggregation.scala:30)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at sbt.Command$.process(Command.scala:90)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
at sbt.State$$anon$2.process(State.scala:170)
at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.MainLoop$.next(MainLoop.scala:71)
at sbt.MainLoop$.run(MainLoop.scala:64)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:53)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:50)
at sbt.Using.apply(Using.scala:25)
at sbt.MainLoop$.runWithNewLog(MainLoop.scala:50)
at sbt.MainLoop$.runAndClearLast(MainLoop.scala:33)
at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:17)
at sbt.MainLoop$.runLogged(MainLoop.scala:13)
at sbt.xMain.run(Main.scala:26)
at xsbt.boot.Launch$.run(Launch.scala:55)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
at xsbt.boot.Launch$.launch(Launch.scala:69)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:31)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
Caused by: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at sbt.Project$$anon$5.apply(Project.scala:130)
at sbt.Project$$anon$5.apply(Project.scala:128)
at sbt.LogManager$.commandBase$1(LogManager.scala:59)
at sbt.LogManager$.command$1(LogManager.scala:60)
at sbt.LogManager$$anonfun$suppressedMessage$1.apply(LogManager.scala:61)
at sbt.LogManager$$anonfun$suppressedMessage$1.apply(LogManager.scala:61)
at sbt.ConsoleLogger.trace(ConsoleLogger.scala:163)
at sbt.AbstractLogger.log(Logger.scala:32)
at sbt.MultiLogger$$anonfun$dispatch$1.apply(MultiLogger.scala:40)
at sbt.MultiLogger$$anonfun$dispatch$1.apply(MultiLogger.scala:38)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:76)
at sbt.MultiLogger.dispatch(MultiLogger.scala:38)
at sbt.MultiLogger.trace(MultiLogger.scala:30)
at sbt.TestLogger$$anon$2.trace(TestReportListener.scala:71)
at sbt.TestLogger.endGroup(TestReportListener.scala:88)
at sbt.TestRunner$$anonfun$run$5.apply(TestFramework.scala:87)
at sbt.TestRunner$$anonfun$run$5.apply(TestFramework.scala:87)
at sbt.TestFramework$$anonfun$safeForeach$1.apply(TestFramework.scala:112)
at sbt.TestFramework$$anonfun$safeForeach$1.apply(TestFramework.scala:112)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
[error] java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: PermGen space
[error] Use 'last' for the full log.
Sometimes it also exits abruptly with:
sbt appears to be exiting abnormally.
The log file for this session is at /var/folders/vf/3khb58091wd0_1rz1yh6knb00000gp/T/sbt3242766352271599341.log
java.lang.OutOfMemoryError: PermGen space
Error during sbt execution: java.lang.OutOfMemoryError: PermGen space
Any solutions?
This sometimes happens if you compile huge codebases - a lot of classes get loaded into the VM running sbt.
You need to increase the PermGen space for sbt - use the flag -XX:MaxPermSize=256m, where 256 you can change with the desired size of the permanent generation.
Run:
cat `which sbt`
to locate you sbt startup script. Then edit it to include the flag with the java command that runs the sbt launcher in the similar way as it is described here for modifying -Xmx and -Xms.
Adding the -XX:+CMSClassUnloadingEnabled flag should also enable sbt to unload the classloaders with classes from the previous compilation runs that are no longer being used.
EDIT:
Alternatively, you can set these options in the SBT_OPTS environment variable if you are using the extended script for running sbt.