Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to solve the problem that the template path is incorrect when Jfinal-undertow is executed under Intellij IDEA?

Shulou Source: shulou.com Published: 2022-06-02 10:00:39 11月01日 Update

This article mainly explains how to solve the problem that the template path is incorrect when Jfinal-undertow is executed under Intellij IDEA. Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn how to solve the problem that the template path is incorrect when Jfinal-undertow is executed under Intellij IDEA.

The incorrect template path for Jfinal-undertow is solved!

Code tracking: through code tracking, it is found that the working directory of the executing program will affect the acquisition of the template path.

Main reason: incorrect work path performed by main.

Solution: modify the execution configuration and update the working directory to be consistent with the current project. For example, the directory configuration of module is as follows:

At this point, I believe you have a deeper understanding of "how to solve the incorrect template path when Jfinal-undertow is executed under Intellij IDEA". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Path template directory work code content method learning tracking configuration practical deeper consistent interest reason practical practical engineering easy to operate more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB MySQL OPPO Reno macOS Shulou Tech Info