Links a goal or place to the noun after it, in writing
It's 에 e plus 의 ui, and it ties a place, time or goal to the noun after it: 성공에의 의지 seonggongeui uiji, "the will to succeed".
그 그림에는 자유에의 소망이 담겨 있다.geu geurimeneun jayueui somangi damgyeo itda.The painting carries a longing for freedom.
그는 문학에의 애정을 버리지 못했다.geuneun munhageui aejeongeul beoriji motaetda.They never lost their love of literature.
Meaning checked against the official learner dictionary from the National Institute of Korean Language
Put it together
Build it

Situations
When to use it

1A will or a wish
What someone is set on.
그는 누구보다 성공에의 의지가 강했다.geuneun nuguboda seonggongeui uijiga ganghaetda.Their will to succeed was stronger than anyone's.2Longing
What someone misses.
해외에서 오래 살면서 고국에의 그리움이 커졌다.haeoeeseo orae salmyeonseo gogugeui geuriumi keojyeotda.After years of living abroad, I longed more and more for my home country.3Moving into
A place someone is heading for.
해외 시장에의 진출을 준비하고 있습니다.haeoe sijangeui jinchureul junbihago itseumnida.We're preparing to move into overseas markets.
Common mistakes
Watch out

On its own, 에 e can't link two nouns. It needs 의 ui.
6 real sentences
In context

- 1
그 그림에는 자유에의 소망이 담겨 있다.
Geu geurimeneun jayueui somangi damgyeo itda.
The painting carries a longing for freedom.
- 2
그는 문학에의 애정을 버리지 못했다.
Geuneun munhageui aejeongeul beoriji motaetda.
They never lost their love of literature.
- 3
고국에의 향수가 점점 짙어졌다.
Gogugeui hyangsuga jeomjeom jiteojyeotda.
My homesickness for my country grew stronger and stronger.
- 4
해외 시장에의 진출은 쉽지 않다.
Haeoe sijangeui jinchureun swipji anta.
Moving into overseas markets isn't easy.
- 5
성공에의 의지가 누구보다 강했다.
Seonggongeui uijiga nuguboda ganghaetda.
Their will to succeed was stronger than anyone's.
- 6
평화에의 염원이 담긴 노래다.
Pyeonghwaeui yeomwoni damgin noraeda.
It's a song full of longing for peace.
6 questions
Practice

자유 + 에의 + 소망
에의 or 에 대한?
In everyday Korean the same idea is usually put with 에 대한 e daehan, "about, toward": 자유에 대한 소망 jayue daehan somang, "a longing for freedom". 에의 is shorter and more formal. See 에 대해서 e daehaeseo for that one.
Other particles plus 의
의 goes on other particles the same way: 에서의 eseoui, "at", and 로의 roui, "to": 서울에서의 생활 seoureseoui saenghwal, "life in Seoul", and 미래로의 여행 miraeroui yeohaeng, "a trip to the future".
Look it up in the dictionary
The entry for 에의 in two trusted Korean dictionaries.
