Solved

Unable to run CF8 from CFEclipse

Posted on 2010-08-19
2
441 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
Comment Utility
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
Comment Utility
uninstalled and reinstalled coldfusion and that seemed to resolve the issue.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
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 new code templates in NetBeans IDE 8.0 for Windows.

772 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

11 Experts available now in Live!

Get 1:1 Help Now