Edit: I’ve sorted this out now, by just downloading the starting source code and starting completely from scratch! Not a true solution I know but I had to get this sorted asap so I could continue with the course.
Hi all,
I have searched the forums for a solution to my problem, but it seems I am alone with this issue.
I have just done the required code changes to UserDao.java, for the User Management Ticket.
When I run mvn test -Dtest=UserTest
the tests all pass fine.
I then run mvn spring-boot:run
and the application starts no problem.
The issue is when I navigate to the mflix app at localhost:5000/ (yes, port number is correct per the application.properties file). Here I just get a wall of text for the index.html file.
Note: I haven’t changed this file for this ticket (a change was required for the previous ticket and the UI worked). This seems to be a sudden issue and hopefully one that is relatively simple to solve…
I am using IntelliJ IDEA to make code changes, and am running through the Terminal view. I noticed in the Terminal the following error:
2019-05-23 11:22:52.962 ERROR 10404 --- [nio-5000-exec-2] mflix.api.security.JWTAuthEntryPoint : Unauthorized error: Full authentication is required to access this resource
Any help will be greatly appreciated, as I’d like to get this sorted as soon as possible.
Cheers,
Thomas