using fax4j in maven java project on windows 7 -


i'm using fax4j in maven java project on windows 7.

i have little code send fax. when run code program responds follow error:

error code: 258 message: unable send fax.

my pom.xml project have 1 dependency:

<dependencies> <dependency> <groupid>net.sf.fax4j</groupid> <artifactid>fax4j</artifactid> <version>0.42.9</version> </dependency> </dependencies> 

and project have 1 class main this:

import java.io.file; import org.fax4j.faxclient; import org.fax4j.faxclientfactory; import org.fax4j.faxjob; import org.fax4j.faxjob.faxjobpriority; import org.fax4j.faxjobstatus; public class faxtest { public static void main(string[] args) {      faxclient faxclient = faxclientfactory.createfaxclient();      faxjob faxjob = faxclient.createfaxjob();      file file = getfile("fax/fax.txt");     if (file == null) {         system.err.println("erro fax.txt.");         return;     } else {         system.out.println("ok fax.txt.");     }     faxjob.setfile(file);     faxjob.setpriority(faxjobpriority.high_priority);     faxjob.settargetaddress("0222088888");     faxjob.settargetname("ano piso 1");     faxjob.setsenderemail("xxx@gmail.com");     faxjob.setsenderfaxnumber("0222088889");     faxjob.setsendername("xxx");      //once fax job contains needed info, submit via fax client:     //submit fax job     faxclient.submitfaxjob(faxjob);     system.out.println("fax job sumbitted: " + faxjob.getid());      while (faxclient.getfaxjobstatus(faxjob) == faxjobstatus.pending) {         system.out.println("status: "                 + faxclient.getfaxjobstatus(faxjob).tostring());          (int = 0; < 100; i++) {             try {                 thread.sleep(100);             } catch (interruptedexception ex) {                 system.out.println("error sleep: " + ex.getmessage());             }             system.out.print(".");         }     }      system.out.println("final status: "             + faxclient.getfaxjobstatus(faxjob).tostring()); }  /**  * getfile pass argument pathfile  *  * @param filename  * @return  */ private static file         getfile(string filename) {     //get file resources folder     classloader classloader = faxtest.class             .getclassloader();     file file = new file(classloader.getresource(filename).getfile());     return file; } } 

now(23(04/2015), output log is:

------------------------------------------------------------------------ building faxteste 1.0-snapshot ------------------------------------------------------------------------ lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] lifecycle clean -> [pre-clean, clean, post-clean] lifecycle site -> [pre-site, site, post-site, site-deploy] === project build plan ================================================ project:       pt.ano:faxteste:1.0-snapshot dependencies (collect): [] dependencies (resolve): [test] repositories (dependencies): [central (http://repo.maven.apache.org/maven2, releases)] repositories (plugins)     : [central (http://repo.maven.apache.org/maven2, releases)] ----------------------------------------------------------------------- goal:          org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) style:         regular configuration: <?xml version="1.0" encoding="utf-8"?> <configuration>   <basedir default-value="${basedir}"/>   <classpathscope default-value="runtime">${exec.classpathscope}</classpathscope>   <commandlineargs>${exec.args}</commandlineargs>   <executable>${exec.executable}</executable>   <longclasspath default-value="false">${exec.longclasspath}</longclasspath>   <outputfile>${exec.outputfile}</outputfile>   <project default-value="${project}"/>   <session default-value="${session}"/>   <skip default-value="false">${skip}</skip>   <sourceroot>${sourceroot}</sourceroot>   <testsourceroot>${testsourceroot}</testsourceroot>   <workingdirectory>${exec.workingdir}</workingdirectory> </configuration> ======================================================================= pt.ano:faxteste:jar:1.0-snapshot    net.sf.fax4j:fax4j:jar:0.42.9:compile       javax.mail:mail:jar:1.4.7:compile          javax.activation:activation:jar:1.1:compile       commons-httpclient:commons-httpclient:jar:3.1:compile          commons-codec:commons-codec:jar:1.2:compile       commons-logging:commons-logging:jar:1.1.3:compile       org.json:json:jar:20090211:compile       net.sf.gnu-hylafax:gnu-hylafax-core:jar:1.0.3:compile       net.sf.gnu-hylafax:gnu-hylafax-inet-ftp:jar:1.0.3:compile       net.sf.gnu-hylafax:gnu-hylafax-utils:jar:1.0.3:compile          log4j:log4j:jar:1.2.14:compile          commons-cli:commons-cli:jar:1.0:compile             commons-lang:commons-lang:jar:1.0:compile                junit:junit:jar:3.7:compile          urbanophile:java-getopt:jar:1.0.9:compile       net.sf.gnu-hylafax:gnu-hylafax-pool:jar:1.0.3:compile          concurrent:concurrent:jar:1.3.4:compile       org.rxtx:rxtx:jar:2.1.7:compile  --- exec-maven-plugin:1.2.1:exec (default-cli) @ faxteste --- created new class realm maven.api importing foreign packages class realm maven.api   imported: org.apache.maven.wagon.events < maven.ext   imported: org.sonatype.aether.transfer < maven.ext   imported: org.apache.maven.exception < maven.ext   imported: org.sonatype.aether.metadata < maven.ext   imported: org.codehaus.plexus.util.xml.xpp3dom < maven.ext   imported: org.sonatype.aether.collection < maven.ext   imported: org.sonatype.aether.version < maven.ext   imported: org.apache.maven.monitor < maven.ext   imported: org.apache.maven.wagon.repository < maven.ext   imported: org.apache.maven.repository < maven.ext   imported: org.apache.maven.wagon.resource < maven.ext   imported: org.codehaus.plexus.logging < maven.ext   imported: org.apache.maven.profiles < maven.ext   imported: org.sonatype.aether.repository < maven.ext   imported: org.apache.maven.classrealm < maven.ext   imported: org.apache.maven.execution < maven.ext   imported: org.sonatype.aether.artifact < maven.ext   imported: org.sonatype.aether.spi < maven.ext   imported: org.apache.maven.reporting < maven.ext   imported: org.apache.maven.usability < maven.ext   imported: org.codehaus.plexus.container < maven.ext   imported: org.codehaus.plexus.component < maven.ext   imported: org.codehaus.plexus.util.xml.pull.xmlserializer < maven.ext   imported: org.apache.maven.wagon.authentication < maven.ext   imported: org.apache.maven.lifecycle < maven.ext   imported: org.codehaus.plexus.classworlds < maven.ext   imported: org.sonatype.aether.graph < maven.ext   imported: org.sonatype.aether.* < maven.ext   imported: org.apache.maven.settings < maven.ext   imported: org.codehaus.classworlds < maven.ext   imported: org.sonatype.aether.impl < maven.ext   imported: org.apache.maven.wagon.* < maven.ext   imported: org.apache.maven.toolchain < maven.ext   imported: org.sonatype.aether.deployment < maven.ext   imported: org.apache.maven.wagon.observers < maven.ext   imported: org.codehaus.plexus.util.xml.pull.xmlpullparserexception < maven.ext   imported: org.codehaus.plexus.util.xml.pull.xmlpullparser < maven.ext   imported: org.apache.maven.configuration < maven.ext   imported: org.apache.maven.cli < maven.ext   imported: org.sonatype.aether.installation < maven.ext   imported: org.codehaus.plexus.context < maven.ext   imported: org.apache.maven.wagon.authorization < maven.ext   imported: org.apache.maven.project < maven.ext   imported: org.apache.maven.rtinfo < maven.ext   imported: org.codehaus.plexus.lifecycle < maven.ext   imported: org.codehaus.plexus.configuration < maven.ext   imported: org.apache.maven.artifact < maven.ext   imported: org.apache.maven.model < maven.ext   imported: org.apache.maven.* < maven.ext   imported: org.apache.maven.wagon.proxy < maven.ext   imported: org.sonatype.aether.resolution < maven.ext   imported: org.apache.maven.plugin < maven.ext   imported: org.codehaus.plexus.* < maven.ext   imported: org.codehaus.plexus.personality < maven.ext populating class realm maven.api org.codehaus.mojo:exec-maven-plugin:jar:1.2.1:    org.apache.maven:maven-toolchain:jar:1.0:compile    org.apache.maven:maven-project:jar:2.0.6:compile       org.apache.maven:maven-settings:jar:2.0.6:compile       org.apache.maven:maven-profile:jar:2.0.6:compile       org.apache.maven:maven-plugin-registry:jar:2.0.6:compile    org.apache.maven:maven-model:jar:2.0.6:compile    org.apache.maven:maven-artifact:jar:2.0.6:compile    org.apache.maven:maven-artifact-manager:jar:2.0.6:compile       org.apache.maven:maven-repository-metadata:jar:2.0.6:compile    org.apache.maven:maven-core:jar:2.0.6:compile       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6:compile       org.apache.maven.reporting:maven-reporting-api:jar:2.0.6:compile          org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7:compile       org.apache.maven:maven-error-diagnostics:jar:2.0.6:compile       commons-cli:commons-cli:jar:1.0:compile       org.apache.maven:maven-plugin-descriptor:jar:2.0.6:compile       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile       org.apache.maven:maven-monitor:jar:2.0.6:compile       classworlds:classworlds:jar:1.1:compile    org.apache.maven:maven-plugin-api:jar:2.0.6:compile    org.codehaus.plexus:plexus-utils:jar:2.0.5:compile    org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile       junit:junit:jar:3.8.2:test (scope managed compile) (version managed 3.8.1)    org.apache.commons:commons-exec:jar:1.1:compile created new class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1 importing foreign packages class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1   imported:  < maven.api populating class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1   included: org.codehaus.mojo:exec-maven-plugin:jar:1.2.1   included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.6   included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7   included: commons-cli:commons-cli:jar:1.0   included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4   included: org.codehaus.plexus:plexus-utils:jar:2.0.5   included: org.apache.commons:commons-exec:jar:1.1   excluded: org.apache.maven:maven-toolchain:jar:1.0   excluded: org.apache.maven:maven-project:jar:2.0.6   excluded: org.apache.maven:maven-settings:jar:2.0.6   excluded: org.apache.maven:maven-profile:jar:2.0.6   excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6   excluded: org.apache.maven:maven-model:jar:2.0.6   excluded: org.apache.maven:maven-artifact:jar:2.0.6   excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6   excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6   excluded: org.apache.maven:maven-core:jar:2.0.6   excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6   excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.6   excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.6   excluded: org.apache.maven:maven-monitor:jar:2.0.6   excluded: classworlds:classworlds:jar:1.1   excluded: org.apache.maven:maven-plugin-api:jar:2.0.6   excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9   excluded: junit:junit:jar:3.8.2 configuring mojo org.codehaus.mojo:exec-maven-plugin:1.2.1:exec plugin realm classrealm[plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1, parent: sun.misc.launcher$appclassloader@1497b7b1] configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.2.1:exec' basic configurator -->   (f) basedir = c:\projectos\gspgsemdd\faxteste   (f) classpathscope = runtime   (f) commandlineargs = -classpath %classpath pt.ano.faxteste.faxtest   (f) executable = c:\program files\java\jdk1.7.0_51\bin\java.exe   (f) longclasspath = false   (f) project = mavenproject: pt.ano:faxteste:1.0-snapshot @ c:\projectos\gspgsemdd\faxteste\pom.xml   (f) session = org.apache.maven.execution.mavensession@4e6cf5e8   (f) skip = false -- end configuration -- collected project artifacts [net.sf.fax4j:fax4j:jar:0.42.9:compile, javax.mail:mail:jar:1.4.7:compile, javax.activation:activation:jar:1.1:compile, commons-httpclient:commons-httpclient:jar:3.1:compile, commons-codec:commons-codec:jar:1.2:compile, commons-logging:commons-logging:jar:1.1.3:compile, org.json:json:jar:20090211:compile, net.sf.gnu-hylafax:gnu-hylafax-core:jar:1.0.3:compile, net.sf.gnu-hylafax:gnu-hylafax-inet-ftp:jar:1.0.3:compile, net.sf.gnu-hylafax:gnu-hylafax-utils:jar:1.0.3:compile, log4j:log4j:jar:1.2.14:compile, commons-cli:commons-cli:jar:1.0:compile, commons-lang:commons-lang:jar:1.0:compile, junit:junit:jar:3.7:compile, urbanophile:java-getopt:jar:1.0.9:compile, net.sf.gnu-hylafax:gnu-hylafax-pool:jar:1.0.3:compile, concurrent:concurrent:jar:1.3.4:compile, org.rxtx:rxtx:jar:2.1.7:compile] collected project classpath [c:\projectos\gspgsemdd\faxteste\target\classes] dealing net.sf.fax4j:fax4j:jar:0.42.9:compile dealing javax.mail:mail:jar:1.4.7:compile dealing javax.activation:activation:jar:1.1:compile dealing commons-httpclient:commons-httpclient:jar:3.1:compile dealing commons-codec:commons-codec:jar:1.2:compile dealing commons-logging:commons-logging:jar:1.1.3:compile dealing org.json:json:jar:20090211:compile dealing net.sf.gnu-hylafax:gnu-hylafax-core:jar:1.0.3:compile dealing net.sf.gnu-hylafax:gnu-hylafax-inet-ftp:jar:1.0.3:compile dealing net.sf.gnu-hylafax:gnu-hylafax-utils:jar:1.0.3:compile dealing log4j:log4j:jar:1.2.14:compile dealing commons-cli:commons-cli:jar:1.0:compile dealing commons-lang:commons-lang:jar:1.0:compile dealing junit:junit:jar:3.7:compile dealing urbanophile:java-getopt:jar:1.0.9:compile dealing net.sf.gnu-hylafax:gnu-hylafax-pool:jar:1.0.3:compile dealing concurrent:concurrent:jar:1.3.4:compile dealing org.rxtx:rxtx:jar:2.1.7:compile toolchains ignored, 'executable' parameter set c:\program files\java\jdk1.7.0_51\bin\java.exe executing command line: c:\program files\java\jdk1.7.0_51\bin\java.exe -classpath c:\projectos\gspgsemdd\faxteste\target\classes;c:\users\nuno_marinho\.m2\repository\net\sf\fax4j\fax4j\0.42.9\fax4j-0.42.9.jar;c:\users\nuno_marinho\.m2\repository\javax\mail\mail\1.4.7\mail-1.4.7.jar;c:\users\nuno_marinho\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;c:\users\nuno_marinho\.m2\repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;c:\users\nuno_marinho\.m2\repository\commons-codec\commons-codec\1.2\commons-codec-1.2.jar;c:\users\nuno_marinho\.m2\repository\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;c:\users\nuno_marinho\.m2\repository\org\json\json\20090211\json-20090211.jar;c:\users\nuno_marinho\.m2\repository\net\sf\gnu-hylafax\gnu-hylafax-core\1.0.3\gnu-hylafax-core-1.0.3.jar;c:\users\nuno_marinho\.m2\repository\net\sf\gnu-hylafax\gnu-hylafax-inet-ftp\1.0.3\gnu-hylafax-inet-ftp-1.0.3.jar;c:\users\nuno_marinho\.m2\repository\net\sf\gnu-hylafax\gnu-hylafax-utils\1.0.3\gnu-hylafax-utils-1.0.3.jar;c:\users\nuno_marinho\.m2\repository\log4j\log4j\1.2.14\log4j-1.2.14.jar;c:\users\nuno_marinho\.m2\repository\commons-cli\commons-cli\1.0\commons-cli-1.0.jar;c:\users\nuno_marinho\.m2\repository\commons-lang\commons-lang\1.0\commons-lang-1.0.jar;c:\users\nuno_marinho\.m2\repository\junit\junit\3.7\junit-3.7.jar;c:\users\nuno_marinho\.m2\repository\urbanophile\java-getopt\1.0.9\java-getopt-1.0.9.jar;c:\users\nuno_marinho\.m2\repository\net\sf\gnu-hylafax\gnu-hylafax-pool\1.0.3\gnu-hylafax-pool-1.0.3.jar;c:\users\nuno_marinho\.m2\repository\concurrent\concurrent\1.3.4\concurrent-1.3.4.jar;c:\users\nuno_marinho\.m2\repository\org\rxtx\rxtx\2.1.7\rxtx-2.1.7.jar pt.ano.faxteste.faxtest ok fax.txt. read file fax.txt: teste nuno marinho exception in thread "main" org.fax4j.faxexception: error while invoking fax action process, exit code: -1073740940 process output: [fax4j-native][debug] debug mode enabled. [fax4j-native][debug] checking argument: [fax4j-native][debug] -action [fax4j-native][debug] argument value: [fax4j-native][debug] submit [fax4j-native][debug] checking argument: [fax4j-native][debug] -target_address [fax4j-native][debug] argument value: [fax4j-native][debug] 132 [fax4j-native][debug] checking argument: [fax4j-native][debug] -target_name [fax4j-native][debug] argument value: [fax4j-native][debug] ano [fax4j-native][debug] checking argument: [fax4j-native][debug] -sender_name [fax4j-native][debug] argument value: [fax4j-native][debug] nuno marinho [fax4j-native][debug] checking argument: [fax4j-native][debug] -file [fax4j-native][debug] argument value: [fax4j-native][debug] c:\projectos\gspgsemdd\faxteste\target\classes\fax\fax.txt [fax4j-native][debug] read input: [fax4j-native][debug] action: [fax4j-native][debug] submit [fax4j-native][debug] server: [fax4j-native][debug] (null) [fax4j-native][debug] fax job id: [fax4j-native][debug] (null) [fax4j-native][debug] target address: [fax4j-native][debug] 132 [fax4j-native][debug] target name: [fax4j-native][debug] ano [fax4j-native][debug] sender name: [fax4j-native][debug] nuno marinho [fax4j-native][debug] file: [fax4j-native][debug] c:\projectos\gspgsemdd\faxteste\target\classes\fax\fax.txt [fax4j-native][debug] handling specific fax action. [fax4j-native][debug] invoking submitfaxjobnative [fax4j-native][debug] connecting fax server. [fax4j-native][debug] initializing fax job parameters.  process error:      @ org.fax4j.spi.process.exitcodeprocessoutputvalidator.validateprocessoutput(exitcodeprocessoutputvalidator.java:42)     @ org.fax4j.spi.windows.windowsprocessoutputvalidator.validateprocessoutput(windowsprocessoutputvalidator.java:42)     @ org.fax4j.spi.process.processfaxclientspi.validateprocessoutput(processfaxclientspi.java:566)     @ org.fax4j.spi.process.processfaxclientspi.executeprocess(processfaxclientspi.java:492)     @ org.fax4j.spi.process.processfaxclientspi.submitfaxjobimpl(processfaxclientspi.java:351)     @ org.fax4j.spi.abstractfaxclientspi.submitfaxjob(abstractfaxclientspi.java:308)     @ org.fax4j.spi.adapter.abstractadapterfaxclientspi.submitfaxjobimpl(abstractadapterfaxclientspi.java:94)     @ org.fax4j.spi.abstractfaxclientspi.submitfaxjob(abstractfaxclientspi.java:308)     @ org.fax4j.spi.adapter.abstractadapterfaxclientspi.submitfaxjobimpl(abstractadapterfaxclientspi.java:94)     @ org.fax4j.spi.abstractfaxclientspi.submitfaxjob(abstractfaxclientspi.java:308)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:606)     @ org.fax4j.spi.abstractfaxclientspiproxy.invoke(abstractfaxclientspiproxy.java:203)     @ com.sun.proxy.$proxy0.submitfaxjob(unknown source)     @ org.fax4j.faxclient.submitfaxjob(faxclient.java:214)     @ pt.ano.faxteste.faxtest.main(faxtest.java:57) picked _java_options: -djava.vendor="sun microsystems inc." ------------------------------------------------------------------------ build failure ------------------------------------------------------------------------ total time: 18.282s finished at: thu apr 23 10:55:01 bst 2015 final memory: 5m/122m ------------------------------------------------------------------------ failed execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project faxteste: command execution failed. process exited error: 1 (exit value: 1) -> [help 1] org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project faxteste: command execution failed.     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:217)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:153)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:145)     @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:84)     @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:59)     @ org.apache.maven.lifecycle.internal.lifecyclestarter.singlethreadedbuild(lifecyclestarter.java:183)     @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecyclestarter.java:161)     @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:320)     @ org.apache.maven.defaultmaven.execute(defaultmaven.java:156)     @ org.apache.maven.cli.mavencli.execute(mavencli.java:537)     @ org.apache.maven.cli.mavencli.domain(mavencli.java:196)     @ org.apache.maven.cli.mavencli.main(mavencli.java:141)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:606)     @ org.codehaus.plexus.classworlds.launcher.launcher.launchenhanced(launcher.java:290)     @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.java:230)     @ org.codehaus.plexus.classworlds.launcher.launcher.mainwithexitcode(launcher.java:409)     @ org.codehaus.plexus.classworlds.launcher.launcher.main(launcher.java:352) caused by: org.apache.maven.plugin.mojoexecutionexception: command execution failed.     @ org.codehaus.mojo.exec.execmojo.execute(execmojo.java:362)     @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(defaultbuildpluginmanager.java:101)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:209)     ... 19 more caused by: org.apache.commons.exec.executeexception: process exited error: 1 (exit value: 1)     @ org.apache.commons.exec.defaultexecutor.executeinternal(defaultexecutor.java:377)     @ org.apache.commons.exec.defaultexecutor.execute(defaultexecutor.java:160)     @ org.codehaus.mojo.exec.execmojo.executecommandline(execmojo.java:610)     @ org.codehaus.mojo.exec.execmojo.execute(execmojo.java:352)     ... 21 more   more information errors , possible solutions, please read following articles: [help 1] http://cwiki.apache.org/confluence/display/maven/mojoexecutionexception picked _java_options: -djava.vendor="sun microsystems inc." 

your code fine. know because created maven project code in pc windows 7 , works fine :d


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -