Solved

Unable to run CF8 from CFEclipse

Posted on 2010-08-19
2
450 Views
Last Modified: 2013-12-24
I have cfeclipse installed as well as CF8 dev. edition running. When I create a .cfm page and try to run it from inside cfeclipse (rt. click on file, run as, and then use internal web server), the page does not display any cfoutput. I tried outputting the date/time but the function itself displays like so: #Now()#. I checked to make sure the cf services are all running and they are. What am I missing and what do I do to fix it?

roger
0
Comment
Question by:roger_v
2 Comments
 
LVL 10

Accepted Solution

by:
Mr_Nil earned 500 total points
ID: 33531719
I suspect that what is happening is eclipse is simply referencing your template (.cfm) file as a file rather than through a web server. eg. file://path/to/your/template.cfm rather than http://localhost/path/template.cfm

To be honest I never run my code through eclipse.  Its easy to hit refresh on a browser window that I already have open after I've saved an update to template or component.

That said, you probably need to check that the web browser setting in eclipse to make sure that it is opening a URL (http://) rather than a file path (file://). CFEclipse has a "Edit URL" menu option when you right click on a project - perhaps this needs setting?
0
 
LVL 1

Author Closing Comment

by:roger_v
ID: 33987437
uninstalled and reinstalled coldfusion and that seemed to resolve the issue.
0

Featured Post

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now