Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+22 votes

I want to be able to clean up our code for the projact and want to seperate our files into more streamlined packages, I tried imitating MovieTracker but there seems to be an error with

Exception in Application start method

Any help would be appreciated

asked in CSC305 Fall 2022 by (1 point)

3 Answers

+9 votes

If I had to take a guess I would say your fxml file may have the version of your controller class from the old package. I don’t believe refactoring changes the fxml files so your problem could be there. Good luck!

answered by (1 point)
+3

I did go into the fxml and change it, it still goes haywire on me

+7 votes

The FXML files may refer to the original packages in addition to the onAction part which refers to a specific method. Maybe check that.

answered by (1 point)
+5 votes

I agree with my classmates, I believe that your files may be running on different versions. Some versions are compatible with specific methods, I would first check and make sure all of your software is running the same version of java and has the same version as your libraries

answered by (1 point)
...