0

Im trying to invoke a ColdFusion component from java by using the CFCProxy Object, however when I try to do the import:

import coldfusion.cfc.CFCProxy;

I get the error message:

The import coldfusion cannot be resolved.

Can anyone tell me what this means and give some direction on how to fix the issue?

Lorenz Meyer
  • 19,166
  • 22
  • 75
  • 121
  • See this related question: [Eclipse error: “The import XXX cannot be resolved”](http://stackoverflow.com/q/4322893/1636917) – Miguel-F Nov 25 '13 at 18:54

1 Answers1

0

Make sure that the .jar containing this class is in the Java Build Path of your project. To find out which jars are in your build path, go to Project -> Properties -> Java Build Path ->Libraries.

As far as I know Coldfusion is proprietary software, so you should contact them to find out where you can get the necessary jars.

jny
  • 8,007
  • 3
  • 37
  • 56
  • Can you be more specific? How would I check the build path? And if the .jar file is missing, where can I find it? – user3033588 Nov 25 '13 at 18:59
  • Thank you, I was able to solve the problem with your help. For anyone interested, the jar files needed are found in the path: c:\coldfusion10\cfusion\lib\cfusion.jar; c:\coldfusion10\cfusion\wwwroot\WEB-INF\lib\cfmx_bootstrap.jar – user3033588 Nov 25 '13 at 19:20
  • 1
    user3033588 - You might want to post that last comment as an "answer" so it is more visible. You can do that and still mark @jny's response as the answer. – Leigh Nov 25 '13 at 20:00