In a large stockpot, heat the olive oil. Saute the carrots, onion, celery, and garlic stirring often. Add fresh rosemary, salt, and pepper and continue cooking vegetables until they are translucent. About 8-10 minutes.
Rinse and drain the beans and add to the soup along with the broth.
Bring to a boil, then reduce to a simmer and cook for about 20 minutes.
Add the chopped kale or spinach and cook for 2 minutes until wilted.
Taste the soup for seasoning and add pepper, salt or extra olive oil to taste.
Serve the soup in bowls with freshly grated parmesan cheese.