Popular posts from this blog
"status": 404, "error": "not found", "message": "no message available", "path": "/api/employee"
first, make sure the YourController.java file that has the @Controller and the YourSpringBootFile.java file that has the @SpringBootApplication are in the same package. If you want your controller to be in a different package outside of YourSpringBootFile.java's package, then follow these instructions = Spring: Run multiple "SpringApplication.Run()" in application main method There are 2 methods to overcome this Place the bootup application at the start of the package structure and rest all controllers inside it. Example : package com.spring.boot.app; - You bootup application(i.e. Main Method -SpringApplication.run(App.class, args);) You Rest Controller in with the same package structure Example: package com.spring.boot.app.rest; Explicitly define the Controller in the Bootup package. Method 1 is more cleaner. referred to: https://stackoverflow.com/questions/31318107/spring-boot-cannot-access-rest-controller-on-localhost-404 https://stackoverflow.com/questions/3413520...
Application Framework
Application Framework What is Application Framework? Application framework is used to reduce the general issues which has to be faced when developing applications. Basically this is a library component which is used to develop the fundamental structure of an application.Otherwise it can be introduced as the skeletal of an application.So that the developer can understand the scope which has to be covered when developing the application. Ex: You have given to make a cup of tea.You have all the ingredients , tea cup and knowledge to make a tea.Even if you are the very best person in the world you have to make that tea according to the cup size. This is what the developer also do.Developer has the knowledge to develop an application but he\she has to develop the application according to the scope. In the example you are the developer and the tea cup is the framework. Mostly this is used in graphical user interfaces (GUI) and web-based applications. ...

Comments
Post a Comment