org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project sample-java-client: Cannot create resource output directory: /home/pi/Desktop/alexa-avs-raspberry-pi-master/samples/javaclient/target/classes

GitHub | sebastianapw | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 263#247757337

    GitHub | 7 months ago | sebastianapw
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project sample-java-client: Cannot create resource output directory: /home/pi/Desktop/alexa-avs-raspberry-pi-master/samples/javaclient/target/classes
  2. 0

    mvn install issue

    GitHub | 7 months ago | sebastianapw
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project sample-java-client: Cannot create resource output directory: /home/pi/Desktop/alexa-avs-raspberry-pi-master/samples/javaclient/target/classes
  3. 0

    Build Failure When running mvn install on javaclient

    GitHub | 1 year ago | marcodeltorob
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project sample-java-client: Cannot create resource output directory: /home/pi/alexa-avs-raspberry-pi/samples/javaclient/target/classes
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    mvn compile fails with error about `${PORTAL_HOME}`

    GitHub | 2 years ago | serverhorror
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:copy-resources (copy-parent-resources) on project business: Error loading property file '/net/home/marcherm/git/cbioportal/business/${PORTAL_HOME}/src/main/resources/portal.properties'
  6. 0

    GitHub comment 248#69892233

    GitHub | 2 years ago | dkenterprise100
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project traccar-web: Cannot create resource output directory: /media/vital/traccar-web/target/traccar-web-2.10-SNAPSHOT/WEB-INF/classes
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.maven.shared.filtering.MavenFilteringException

    Cannot create resource output directory: /home/pi/Desktop/alexa-avs-raspberry-pi-master/samples/javaclient/target/classes

    at org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.filterResources()
  2. Apache Maven Filtering
    DefaultMavenResourcesFiltering.filterResources
    1. org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.filterResources(DefaultMavenResourcesFiltering.java:215)
    1 frame
  3. org.apache.maven
    ResourcesMojo.execute
    1. org.apache.maven.plugin.resources.ResourcesMojo.execute(ResourcesMojo.java:301)
    1 frame
  4. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    1 frame
  5. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    10 frames
  6. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  8. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames