Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Problem Netbeans: Problems were encountered for com.dukascopy.dds2:JForex-SDK:jar:2.22.1
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=48588
Page 1 of 1

Author:  tcanuto [ Sun 30 Dec, 2012, 13:16 ]
Post subject:  Problem Netbeans: Problems were encountered for com.dukascopy.dds2:JForex-SDK:jar:2.22.1

Hello! I don't know if this is where I should post this problem but have not found the forum for an answer to this problem.

After I installed the NetBeans, as recommended in JForex Wiki, appeared to me the following error message:

cd C:\Users\THIAGO\Documents\JForex\JForex-SDK; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.7.0_10" "\"C:\\Program Files\\NetBeans 7.2.1\\java\\maven\\bin\\mvn.bat\"" "-Dexec.args=-classpath %classpath singlejartest.Main" "-Dexec.executable=C:\\Program Files\\Java\\jdk1.7.0_10\\bin\\java.exe" -Dexec.classpathScope=runtime process-classes org.codehaus.mojo:exec-maven-plugin:1.2:exec
Scanning for projects...

Some problems were encountered while building the effective model for com.dukascopy.dds2:JForex-SDK:jar:2.22.1
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 65, column 12

It is highly recommended to fix these problems because they threaten the stability of your build.

For this reason, future Maven versions might no longer support building such malformed projects.

Downloading: http://repo.maven.apache.org/maven2/org ... in-1.2.pom

------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 0.990s
Finished at: Sun Dec 30 07:59:31 AMST 2012
Final Memory: 5M/106M
------------------------------------------------------------------------
Plugin org.codehaus.mojo:exec-maven-plugin:1.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:exec-maven-plugin:jar:1.2: Could not transfer artifact org.codehaus.mojo:exec-maven-plugin:pom:1.2 from/to central (http://repo.maven.apache.org/maven2): Connection to http://repo.maven.apache.org refused: connect: Address is invalid on local machine, or port is not valid on remote machine -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/disp ... nException

Please pass me step-by-step how to fix it, because I am a layman about programming.

Now I appreciate it.

Attachments:
Problem NetBeans JForex-SDK.jpg [285.49 KiB]
Downloaded 433 times

Author:  tcanuto [ Sun 30 Dec, 2012, 14:26 ]
Post subject:  Re: Problem Netbeans: Problems were encountered for com.dukascopy.dds2:JForex-SDK:jar:2.22.1

So go ahead ... I'm also reading the JForex Wiki to learn how to build a strategy through the NetBeans and already found another little problem, which is the lack of Source Packages (src) within the JForex-SDK. In this case, what should I do? Create a new Packpages Source (src) and then create a new Java Packpage?

Attachments:
JForex-SDK NetBeans.jpg [283.1 KiB]
Downloaded 421 times

Author:  tcanuto [ Tue 08 Jan, 2013, 12:55 ]
Post subject:  Re: Problem Netbeans: Problems were encountered for com.dukascopy.dds2:JForex-SDK:jar:2.22.1

All these problems were solved! What was causing this was my antivirus. If anyone has this same problem, allow the full functioning of the NetBeans and Java antivirus software. If it works out look for the antivirus support. If you do not have antivirus, browse the Windows support.

I'm finding it better understanding learning to program in JForex by Jlongo articles, starting by this link here: http://www.dukascopy.com/fxcomm/fx-arti ... ead&id=832

Good luck and success to all!

  Page 1 of 1