good evening , if i do like it , it works on localhost , if i deploye it in heroku the File fnew=new ClassPathResource("/templates/bookclub.png").getFile(); isn't working how can i fix it? or have we any other way to do it?
Ребят такой вопрос, есть ли какая нибудь программа которая сможет сделать миграцию всего диска на другой, чтобы не пришлось скачивать заново все программы и проекты и работать с новым диском ?
good evening , if i do like it , it works on localhost , if i deploye it in heroku the File fnew=new ClassPathResource("/templates/bookclub.png").getFile(); isn't working how can i fix it? or have we any other way to do it?
Java file api doesnt work with classpath in packaged fatjars, use inputstream instead