2012-04-12 99 views
0

我找到了映射sdk代碼示例,但是沒有任何文檔。使用Informatica Design SDK創建映射時出錯

目前使用9.0,我正在尋找更多的信息。

對於當前存在的問題之一,當我嘗試保存映射庫(與pcconfig.properties趴在正在生成的xml文件相同的文件夾),我收到以下錯誤:

Written the file.. 

Caught an exception in run() method 

java.io.IOException: Cannot run program ""C:\Informatica\pmrep"" (in directory "C:\Informatica"): CreateProcess error=2, The system cannot find the file specified 

java.io.IOException: Cannot run program ""C:\Informatica\pmrep"" (in directory "C:\Informatica"): CreateProcess error=2, The system cannot find the file specified 

com.informatica.powercenter.sdk.mapfwk.exception.MapFwkOutputException: Error saving to repository : Failed to connect to repository 

    at com.informatica.powercenter.sdk.mapfwk.xml.XMLWriter.save(Unknown Source) 

    at com.informatica.powercenter.sdk.mapfwk.repository.Repository.save(Unknown Source) 

    at TestRaghavExample.generateOutput(TestRaghavExample.java:259) 

    at TestRaghavExample.create(TestRaghavExample.java:64) 

    at TestRaghavExample.main(TestRaghavExample.java:272) 

Caught an exception in run() method 

這是我最初的例子..試圖通過API來找到我的路..

+0

同時發現API的javadoc,但是,它沒有太大的幫助。文件真的非常小。 – Gyan 2012-04-13 09:31:39

回答

0

pmrep實用的路徑不看起來是正確的。它通常在Windows上的路徑C:\Informatica\<version>\server\bin處找到。

檢查PC_CLIENT_INSTALL_PATH的值在pcconfig.properties內是正確的。