| class file not published [message #670355] |
Fri, 13 May 2011 11:53  |
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 11:57] Report message to a moderator
|
|
|
| Re: class file not published [message #670363 is a reply to message #670355] |
Fri, 13 May 2011 12:49  |
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.
|
|
|
Powered by
FUDForum. Page generated in 0.01436 seconds