I noticed that changes made to controller in spring boot javafx application are not showing.can someone please advice me on what i am doing wrongHow to get Spring to autowire integration test class using multiple contexts?Unit testing a Spring Boot service class with(out) repository in JUnitInjection of autowired dependencies failed; No matching beanHow to configure port for a Spring Boot applicationSpring boot applciation not taking controller classes throwing exceptionError creating bean.Injection of autowired dependencies failed.Could not autowire fieldSpring Boot @autowired does not work, classes in different packageSpring and Hibernate Restful webservice configurationSpring boot security consider case insensitive username check for loginSpring Boot application failed to hot swap changes
What major Native American tribes were around Santa Fe during the late 1850s?
Should I install hardwood flooring or cabinets first?
What's the difference between 違法 and 不法?
Did arcade monitors have same pixel aspect ratio as TV sets?
Does the Mind Blank spell prevent the target from being frightened?
Why did the EU agree to delay the Brexit deadline?
Is XSS in canonical link possible?
Could solar power be utilized and substitute coal in the 19th Century
Gibbs free energy in standard state vs. equilibrium
What is the difference between "Do you interest" and "...interested in" something?
Is camera lens focus an exact point or a range?
How should I respond when I lied about my education and the company finds out through background check?
Divine apple island
Drawing a topological "handle" with Tikz
How will losing mobility of one hand affect my career as a programmer?
Diode in opposite direction?
Find last 3 digits of this monster number
Can a significant change in incentives void an employment contract?
On a tidally locked planet, would time be quantized?
MAXDOP Settings for SQL Server 2014
How do ground effect vehicles perform turns?
Do the concepts of IP address and network interface not belong to the same layer?
Proof of Lemma: Every nonzero integer can be written as a product of primes
Wrapping Cryptocurrencies for interoperability sake
I noticed that changes made to controller in spring boot javafx application are not showing.can someone please advice me on what i am doing wrong
How to get Spring to autowire integration test class using multiple contexts?Unit testing a Spring Boot service class with(out) repository in JUnitInjection of autowired dependencies failed; No matching beanHow to configure port for a Spring Boot applicationSpring boot applciation not taking controller classes throwing exceptionError creating bean.Injection of autowired dependencies failed.Could not autowire fieldSpring Boot @autowired does not work, classes in different packageSpring and Hibernate Restful webservice configurationSpring boot security consider case insensitive username check for loginSpring Boot application failed to hot swap changes
I have a Spring boot javafx application I am managing and all the changes i made to the controllers don't reflect see controller code below
Included here is the AppJavaConfig.java, springFXMLloader and the controller
//appjavaConfig.java
package com.codxxxxxxxatise.config;
import java.io.IOException;
import java.io.StringWriter;
import java.util.ResourceBundle;
import javafx.stage.Stage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import com.codetreatise.logging.ExceptionWriter;
@Configuration
public class AppJavaConfig
@Autowired
SpringFXMLLoader springFXMLLoader;
/**
* Useful when dumping stack trace to a string for logging.
* @return ExceptionWriter contains logging utility methods
*/
@Bean
@Scope("prototype")
public ExceptionWriter exceptionWriter()
return new ExceptionWriter(new StringWriter());
@Bean
public ResourceBundle resourceBundle()
return ResourceBundle.getBundle("Bundle");
@Bean
@Lazy(value = true) //Stage only created after Spring context bootstrap
public StageManager stageManager(Stage stage) throws IOException
return new StageManager(springFXMLLoader, stage);
// springFXMLloader
package com.codxxxxxxe.config;
import java.io.IOException;
import java.util.ResourceBundle;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
/**
* Will load the FXML hierarchy as specified in the load method and register
* Spring as the FXML Controller Factory. Allows Spring and Java FX to coexist
* once the Spring Application context has been bootstrapped.
*/
@Component
public class SpringFXMLLoader
private final ResourceBundle resourceBundle;
private final ApplicationContext context;
@Autowired
public SpringFXMLLoader(ApplicationContext context, ResourceBundle resourceBundle)
this.resourceBundle = resourceBundle;
this.context = context;
public Parent load(String fxmlPath) throws IOException
FXMLLoader loader = new FXMLLoader();
loader.setControllerFactory(context::getBean); //Spring now FXML Controller Factory
loader.setResources(resourceBundle);
loader.setLocation(getClass().getResource(fxmlPath));
return loader.load();
// -- loader ends ----
//--controller starts--
package com.codxxxxxxise.controller;
import java.awt.event.KeyEvent;
import java.awt.*;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.stage.Stage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Controller;
import com.codetreatise.config.StageManager;
import com.codetreatise.service.UserService;
import com.codetreatise.view.FxmlView;
import javafx.event.EventHandler;
import javafx.scene.input.KeyCode;
import javafx.scene.input.*;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TextField;
@Controller
public class LoginController implements Initializable
@Autowired
private UserService userService;
@Autowired
private KeyCode code;
@Lazy
@Autowired
private StageManager stageManager;
@FXML
private TextField username;
@FXML
private PasswordField password;
@FXML
private Button exitButton;
@FXML
private Label loginStatus;
@FXML
private ImageView usernameImage;
@FXML
private ImageView passwordImage;
@FXML
private Button btnLogin;
@FXML
private void handleLogin()
if (userService.authenticate(getUsername(), getPassword()))
stageManager.switchScene(FxmlView.APP);
else
loginStatus.setText("Login failed");
@FXML
public void handleExit()
Stage primaryStage = (Stage) exitButton.getScene().getWindow();
exitButton.setOnAction(actionEvent -> primaryStage.close());
@FXML
public void usernameClicked()
usernameImage.setImage(new Image("images/ic_account_circle_blue_700_24dp.png"));
@FXML
public void passwordClicked()
passwordImage.setImage(new Image("images/ic_vpn_key_blue_700_24dp.png"));
private String getUsername()
return username.getText();
private String getPassword()
return password.getText();
@Override
public void initialize(URL location, ResourceBundle resources)
setUserText();
setUsernameClickListener(code);
private <T> void setUsernameClickListener(KeyCode keycode)
if (keycode == KeyCode.TAB && username.isFocused()==true)
System.out.println("BOOOM--USER-- INSIDE KEY_TYPED EVENT");
password.requestFocus();
passwordClicked();
else if (keycode == KeyCode.TAB && password.isFocused()==true)
btnLogin.requestFocus();
else if (keycode == KeyCode.TAB && btnLogin.isFocused()==true)
exitButton.requestFocus();
else if (keycode == KeyCode.TAB && exitButton.isFocused()==true)
username.requestFocus();
private void setUserText()
username.setText("MIKE- MIKE MIKE");
Kindly assist as i have been battling with the confusion of why my controller code is not working for over 48 hours now. i
re imported the maven project, cleaned, rebuilt, closed eclipse re opened eclipse
java spring-boot javafx
add a comment |
I have a Spring boot javafx application I am managing and all the changes i made to the controllers don't reflect see controller code below
Included here is the AppJavaConfig.java, springFXMLloader and the controller
//appjavaConfig.java
package com.codxxxxxxxatise.config;
import java.io.IOException;
import java.io.StringWriter;
import java.util.ResourceBundle;
import javafx.stage.Stage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import com.codetreatise.logging.ExceptionWriter;
@Configuration
public class AppJavaConfig
@Autowired
SpringFXMLLoader springFXMLLoader;
/**
* Useful when dumping stack trace to a string for logging.
* @return ExceptionWriter contains logging utility methods
*/
@Bean
@Scope("prototype")
public ExceptionWriter exceptionWriter()
return new ExceptionWriter(new StringWriter());
@Bean
public ResourceBundle resourceBundle()
return ResourceBundle.getBundle("Bundle");
@Bean
@Lazy(value = true) //Stage only created after Spring context bootstrap
public StageManager stageManager(Stage stage) throws IOException
return new StageManager(springFXMLLoader, stage);
// springFXMLloader
package com.codxxxxxxe.config;
import java.io.IOException;
import java.util.ResourceBundle;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
/**
* Will load the FXML hierarchy as specified in the load method and register
* Spring as the FXML Controller Factory. Allows Spring and Java FX to coexist
* once the Spring Application context has been bootstrapped.
*/
@Component
public class SpringFXMLLoader
private final ResourceBundle resourceBundle;
private final ApplicationContext context;
@Autowired
public SpringFXMLLoader(ApplicationContext context, ResourceBundle resourceBundle)
this.resourceBundle = resourceBundle;
this.context = context;
public Parent load(String fxmlPath) throws IOException
FXMLLoader loader = new FXMLLoader();
loader.setControllerFactory(context::getBean); //Spring now FXML Controller Factory
loader.setResources(resourceBundle);
loader.setLocation(getClass().getResource(fxmlPath));
return loader.load();
// -- loader ends ----
//--controller starts--
package com.codxxxxxxise.controller;
import java.awt.event.KeyEvent;
import java.awt.*;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.stage.Stage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Controller;
import com.codetreatise.config.StageManager;
import com.codetreatise.service.UserService;
import com.codetreatise.view.FxmlView;
import javafx.event.EventHandler;
import javafx.scene.input.KeyCode;
import javafx.scene.input.*;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TextField;
@Controller
public class LoginController implements Initializable
@Autowired
private UserService userService;
@Autowired
private KeyCode code;
@Lazy
@Autowired
private StageManager stageManager;
@FXML
private TextField username;
@FXML
private PasswordField password;
@FXML
private Button exitButton;
@FXML
private Label loginStatus;
@FXML
private ImageView usernameImage;
@FXML
private ImageView passwordImage;
@FXML
private Button btnLogin;
@FXML
private void handleLogin()
if (userService.authenticate(getUsername(), getPassword()))
stageManager.switchScene(FxmlView.APP);
else
loginStatus.setText("Login failed");
@FXML
public void handleExit()
Stage primaryStage = (Stage) exitButton.getScene().getWindow();
exitButton.setOnAction(actionEvent -> primaryStage.close());
@FXML
public void usernameClicked()
usernameImage.setImage(new Image("images/ic_account_circle_blue_700_24dp.png"));
@FXML
public void passwordClicked()
passwordImage.setImage(new Image("images/ic_vpn_key_blue_700_24dp.png"));
private String getUsername()
return username.getText();
private String getPassword()
return password.getText();
@Override
public void initialize(URL location, ResourceBundle resources)
setUserText();
setUsernameClickListener(code);
private <T> void setUsernameClickListener(KeyCode keycode)
if (keycode == KeyCode.TAB && username.isFocused()==true)
System.out.println("BOOOM--USER-- INSIDE KEY_TYPED EVENT");
password.requestFocus();
passwordClicked();
else if (keycode == KeyCode.TAB && password.isFocused()==true)
btnLogin.requestFocus();
else if (keycode == KeyCode.TAB && btnLogin.isFocused()==true)
exitButton.requestFocus();
else if (keycode == KeyCode.TAB && exitButton.isFocused()==true)
username.requestFocus();
private void setUserText()
username.setText("MIKE- MIKE MIKE");
Kindly assist as i have been battling with the confusion of why my controller code is not working for over 48 hours now. i
re imported the maven project, cleaned, rebuilt, closed eclipse re opened eclipse
java spring-boot javafx
I have realised that this issue occurs because eclipse was not generating new class files in the target directory the class files there were old, so i selected project clean to clean these old class files. . can someone advice me on how to build the project in the project menu is disabled
– Mike
Mar 8 at 19:36
add a comment |
I have a Spring boot javafx application I am managing and all the changes i made to the controllers don't reflect see controller code below
Included here is the AppJavaConfig.java, springFXMLloader and the controller
//appjavaConfig.java
package com.codxxxxxxxatise.config;
import java.io.IOException;
import java.io.StringWriter;
import java.util.ResourceBundle;
import javafx.stage.Stage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import com.codetreatise.logging.ExceptionWriter;
@Configuration
public class AppJavaConfig
@Autowired
SpringFXMLLoader springFXMLLoader;
/**
* Useful when dumping stack trace to a string for logging.
* @return ExceptionWriter contains logging utility methods
*/
@Bean
@Scope("prototype")
public ExceptionWriter exceptionWriter()
return new ExceptionWriter(new StringWriter());
@Bean
public ResourceBundle resourceBundle()
return ResourceBundle.getBundle("Bundle");
@Bean
@Lazy(value = true) //Stage only created after Spring context bootstrap
public StageManager stageManager(Stage stage) throws IOException
return new StageManager(springFXMLLoader, stage);
// springFXMLloader
package com.codxxxxxxe.config;
import java.io.IOException;
import java.util.ResourceBundle;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
/**
* Will load the FXML hierarchy as specified in the load method and register
* Spring as the FXML Controller Factory. Allows Spring and Java FX to coexist
* once the Spring Application context has been bootstrapped.
*/
@Component
public class SpringFXMLLoader
private final ResourceBundle resourceBundle;
private final ApplicationContext context;
@Autowired
public SpringFXMLLoader(ApplicationContext context, ResourceBundle resourceBundle)
this.resourceBundle = resourceBundle;
this.context = context;
public Parent load(String fxmlPath) throws IOException
FXMLLoader loader = new FXMLLoader();
loader.setControllerFactory(context::getBean); //Spring now FXML Controller Factory
loader.setResources(resourceBundle);
loader.setLocation(getClass().getResource(fxmlPath));
return loader.load();
// -- loader ends ----
//--controller starts--
package com.codxxxxxxise.controller;
import java.awt.event.KeyEvent;
import java.awt.*;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.stage.Stage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Controller;
import com.codetreatise.config.StageManager;
import com.codetreatise.service.UserService;
import com.codetreatise.view.FxmlView;
import javafx.event.EventHandler;
import javafx.scene.input.KeyCode;
import javafx.scene.input.*;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TextField;
@Controller
public class LoginController implements Initializable
@Autowired
private UserService userService;
@Autowired
private KeyCode code;
@Lazy
@Autowired
private StageManager stageManager;
@FXML
private TextField username;
@FXML
private PasswordField password;
@FXML
private Button exitButton;
@FXML
private Label loginStatus;
@FXML
private ImageView usernameImage;
@FXML
private ImageView passwordImage;
@FXML
private Button btnLogin;
@FXML
private void handleLogin()
if (userService.authenticate(getUsername(), getPassword()))
stageManager.switchScene(FxmlView.APP);
else
loginStatus.setText("Login failed");
@FXML
public void handleExit()
Stage primaryStage = (Stage) exitButton.getScene().getWindow();
exitButton.setOnAction(actionEvent -> primaryStage.close());
@FXML
public void usernameClicked()
usernameImage.setImage(new Image("images/ic_account_circle_blue_700_24dp.png"));
@FXML
public void passwordClicked()
passwordImage.setImage(new Image("images/ic_vpn_key_blue_700_24dp.png"));
private String getUsername()
return username.getText();
private String getPassword()
return password.getText();
@Override
public void initialize(URL location, ResourceBundle resources)
setUserText();
setUsernameClickListener(code);
private <T> void setUsernameClickListener(KeyCode keycode)
if (keycode == KeyCode.TAB && username.isFocused()==true)
System.out.println("BOOOM--USER-- INSIDE KEY_TYPED EVENT");
password.requestFocus();
passwordClicked();
else if (keycode == KeyCode.TAB && password.isFocused()==true)
btnLogin.requestFocus();
else if (keycode == KeyCode.TAB && btnLogin.isFocused()==true)
exitButton.requestFocus();
else if (keycode == KeyCode.TAB && exitButton.isFocused()==true)
username.requestFocus();
private void setUserText()
username.setText("MIKE- MIKE MIKE");
Kindly assist as i have been battling with the confusion of why my controller code is not working for over 48 hours now. i
re imported the maven project, cleaned, rebuilt, closed eclipse re opened eclipse
java spring-boot javafx
I have a Spring boot javafx application I am managing and all the changes i made to the controllers don't reflect see controller code below
Included here is the AppJavaConfig.java, springFXMLloader and the controller
//appjavaConfig.java
package com.codxxxxxxxatise.config;
import java.io.IOException;
import java.io.StringWriter;
import java.util.ResourceBundle;
import javafx.stage.Stage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import com.codetreatise.logging.ExceptionWriter;
@Configuration
public class AppJavaConfig
@Autowired
SpringFXMLLoader springFXMLLoader;
/**
* Useful when dumping stack trace to a string for logging.
* @return ExceptionWriter contains logging utility methods
*/
@Bean
@Scope("prototype")
public ExceptionWriter exceptionWriter()
return new ExceptionWriter(new StringWriter());
@Bean
public ResourceBundle resourceBundle()
return ResourceBundle.getBundle("Bundle");
@Bean
@Lazy(value = true) //Stage only created after Spring context bootstrap
public StageManager stageManager(Stage stage) throws IOException
return new StageManager(springFXMLLoader, stage);
// springFXMLloader
package com.codxxxxxxe.config;
import java.io.IOException;
import java.util.ResourceBundle;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
/**
* Will load the FXML hierarchy as specified in the load method and register
* Spring as the FXML Controller Factory. Allows Spring and Java FX to coexist
* once the Spring Application context has been bootstrapped.
*/
@Component
public class SpringFXMLLoader
private final ResourceBundle resourceBundle;
private final ApplicationContext context;
@Autowired
public SpringFXMLLoader(ApplicationContext context, ResourceBundle resourceBundle)
this.resourceBundle = resourceBundle;
this.context = context;
public Parent load(String fxmlPath) throws IOException
FXMLLoader loader = new FXMLLoader();
loader.setControllerFactory(context::getBean); //Spring now FXML Controller Factory
loader.setResources(resourceBundle);
loader.setLocation(getClass().getResource(fxmlPath));
return loader.load();
// -- loader ends ----
//--controller starts--
package com.codxxxxxxise.controller;
import java.awt.event.KeyEvent;
import java.awt.*;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.stage.Stage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Controller;
import com.codetreatise.config.StageManager;
import com.codetreatise.service.UserService;
import com.codetreatise.view.FxmlView;
import javafx.event.EventHandler;
import javafx.scene.input.KeyCode;
import javafx.scene.input.*;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TextField;
@Controller
public class LoginController implements Initializable
@Autowired
private UserService userService;
@Autowired
private KeyCode code;
@Lazy
@Autowired
private StageManager stageManager;
@FXML
private TextField username;
@FXML
private PasswordField password;
@FXML
private Button exitButton;
@FXML
private Label loginStatus;
@FXML
private ImageView usernameImage;
@FXML
private ImageView passwordImage;
@FXML
private Button btnLogin;
@FXML
private void handleLogin()
if (userService.authenticate(getUsername(), getPassword()))
stageManager.switchScene(FxmlView.APP);
else
loginStatus.setText("Login failed");
@FXML
public void handleExit()
Stage primaryStage = (Stage) exitButton.getScene().getWindow();
exitButton.setOnAction(actionEvent -> primaryStage.close());
@FXML
public void usernameClicked()
usernameImage.setImage(new Image("images/ic_account_circle_blue_700_24dp.png"));
@FXML
public void passwordClicked()
passwordImage.setImage(new Image("images/ic_vpn_key_blue_700_24dp.png"));
private String getUsername()
return username.getText();
private String getPassword()
return password.getText();
@Override
public void initialize(URL location, ResourceBundle resources)
setUserText();
setUsernameClickListener(code);
private <T> void setUsernameClickListener(KeyCode keycode)
if (keycode == KeyCode.TAB && username.isFocused()==true)
System.out.println("BOOOM--USER-- INSIDE KEY_TYPED EVENT");
password.requestFocus();
passwordClicked();
else if (keycode == KeyCode.TAB && password.isFocused()==true)
btnLogin.requestFocus();
else if (keycode == KeyCode.TAB && btnLogin.isFocused()==true)
exitButton.requestFocus();
else if (keycode == KeyCode.TAB && exitButton.isFocused()==true)
username.requestFocus();
private void setUserText()
username.setText("MIKE- MIKE MIKE");
Kindly assist as i have been battling with the confusion of why my controller code is not working for over 48 hours now. i
re imported the maven project, cleaned, rebuilt, closed eclipse re opened eclipse
java spring-boot javafx
java spring-boot javafx
edited Mar 8 at 8:45
Mike
asked Mar 8 at 6:37
MikeMike
11
11
I have realised that this issue occurs because eclipse was not generating new class files in the target directory the class files there were old, so i selected project clean to clean these old class files. . can someone advice me on how to build the project in the project menu is disabled
– Mike
Mar 8 at 19:36
add a comment |
I have realised that this issue occurs because eclipse was not generating new class files in the target directory the class files there were old, so i selected project clean to clean these old class files. . can someone advice me on how to build the project in the project menu is disabled
– Mike
Mar 8 at 19:36
I have realised that this issue occurs because eclipse was not generating new class files in the target directory the class files there were old, so i selected project clean to clean these old class files. . can someone advice me on how to build the project in the project menu is disabled
– Mike
Mar 8 at 19:36
I have realised that this issue occurs because eclipse was not generating new class files in the target directory the class files there were old, so i selected project clean to clean these old class files. . can someone advice me on how to build the project in the project menu is disabled
– Mike
Mar 8 at 19:36
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55057949%2fi-noticed-that-changes-made-to-controller-in-spring-boot-javafx-application-are%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55057949%2fi-noticed-that-changes-made-to-controller-in-spring-boot-javafx-application-are%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I have realised that this issue occurs because eclipse was not generating new class files in the target directory the class files there were old, so i selected project clean to clean these old class files. . can someone advice me on how to build the project in the project menu is disabled
– Mike
Mar 8 at 19:36