- JRE (or JDK)
To check if you have working JRE: Open cmd prompt/terminal, and run:java -version - Eclipse
- Apache Tomcat
- Refer to the documentation and register a Power BI app here.
- Put required values in the config/Config.java file related to AAD app, Power BI report, workspace, dataset, and user account information.
- Save and run the application.
-
Open Eclipse
-
To import project, Select File > Open Projects from File System...
-
Add tomcat server to the project
- Right click Project's name from Project Explorer > Click Properties.
- Select Targeted Runtimes
- If there are no runtimes in the list,
- Click New
- Select a Tomcat version from Apache directory
- Click Next
- Select JRE (leave as default if already available)
- Click Finish
- Select Apache Tomcat (or any other runtime) from the list.
- Click Apply and Close
-
Run the project
- Right click Project's name from Project Explorer
- Select Run As > Run on Server
- Select the created server and click Finish
- Report embedding page (http://<BASE_URL>/appownsdatasample) should load.