Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » class file not published
class file not published [message #670355] Fri, 13 May 2011 15:53 Go to next message
linen  is currently offline linen
Messages: 10
Registered: February 2011
Junior Member
Eclipse won't deploy my class files.

I've got a pretty simple bean class in the src folder of my JSF dynamic web app.
@ManagedBean
public class MyBean implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private PersonDTO person; 
	
	public MyBean() {
		this.person = new PersonDTO();
	}
	
	public PersonDTO getPerson() {
		return this.person;
	}
	
	public void setPerson( PersonDTO dto ) {
		this.person = dto;
	}
	
	public String save() {
		System.out.println("Save");
		return null;
	}
}


Eclipse won't publish it with the rest of the application. I've cleaned, published, "rm -fr" all to no avail. There are four classes inside the src folder. Two of them are being published each time I clean and republish but the other two, including this one are not. I've no idea why not. Is there something wrong with my class?

Any help would be appreciated.

ETA - I'm using Eclipse 3.6 on OS X with Java 6 and Tomcat 7.0.11

[Updated on: Fri, 13 May 2011 15:57]

Report message to a moderator

Re: class file not published [message #670363 is a reply to message #670355] Fri, 13 May 2011 16:49 Go to previous message
linen  is currently offline linen
Messages: 10
Registered: February 2011
Junior Member
My mistake - somewhere in the confusion of attempting to resolve different errors I inadvertently unselected the "Build Automatically" option in the Project menu. But having selected it - I discovered numerous errors that needed to be fixed. Fixed those and my application runs, the files are deployed.
Previous Topic:Is it possible to manually specify "no namespace" schema to use for XML for wst xml editor
Next Topic:Make an entry in XMLCatalog Programatically
Goto Forum:
  


Current Time: Fri Oct 24 07:54:03 GMT 2014

Powered by FUDForum. Page generated in 0.01820 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software