LTSpice generates the following error:
The equation solver in LTSpice can’t find a solution for V1 in combination with L1 without having some resistance in the loop. To know why this is a limitation, you’d have to know a lot about how Spice simulates circuits.
A work-around is to add a very small resistor in series with the inductor; 0.1 Ohm will do, for instance. Or you can simply make the voltage source have a non-zero output resistance by setting the Series Resistance to 0.1 like so:
After doing that, LTSpice complains that there is a floating node. This is because the V1/L1 combination does not have a reference point in the circuit. Adding a ground to the voltage source cures this. Note that, while you need to add this ground in the simulation, you don’t have to do that in real life It’s just to make LTSpice happy.
The circuit now looks like this:
And simulates without problems.