|
|
@@ -288,7 +288,7 @@ public class ProgrammeService {
|
|
|
|
|
|
public void excelTemp(HttpServletResponse response) throws IOException {
|
|
|
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
|
|
- File file = new File(Paths.get(System.getProperty("user.dir"), "src", "main", "resources", "templates", "Programme.xlsx").toString());
|
|
|
+ File file = new File(this.getClass().getResource("/templates/Programme.xlsx").getPath());
|
|
|
InputStream is = new FileInputStream(file);
|
|
|
|
|
|
byte[] buffer = new byte[1024];
|